[PATCH] D105946: [PowerPC] Store, load, move from and to registers related builtins

Albion Fung via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 16 13:43:08 PDT 2021


Conanap marked 4 inline comments as done.
Conanap added a comment.

Addressed comments



================
Comment at: clang/test/CodeGen/builtins-ppc-xlcompat-LoadReseve-StoreCond.c:15
+  // CHECK-LABEL: @test_lwarx
   // CHECK: %0 = tail call i32 asm sideeffect "lwarx $0, ${1:y}", "=r,*Z,~{memory}"(i32* %a)
   return __lwarx(a);
----------------
lei wrote:
> where is the check for `CHECK-NON-PWR8-ERR:`?
`lwarx` and `stwcx` are both available before power8, so the check is not needed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105946/new/

https://reviews.llvm.org/D105946



More information about the cfe-commits mailing list