[PATCH] D106484: [PowerPC] Add PowerPC "__stbcx" builtin and intrinsic for XL compatibility
Victor Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 22 07:16:07 PDT 2021
NeHuang marked an inline comment as done.
NeHuang added inline comments.
================
Comment at: clang/test/CodeGen/builtins-ppc-xlcompat-pwr8.c:31
+ return __builtin_ppc_stbcx(c_addr, c);
+}
----------------
lei wrote:
> Why not just add this tc to `clang/test/CodeGen/builtins-ppc-xlcompat-LoadReseve-StoreCond.c`?
> The other related store functions are tested there.
`__stbcx` is only valid with `pwr8` (or later cpu)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106484/new/
https://reviews.llvm.org/D106484
More information about the llvm-commits
mailing list