The builtins: __compare_and_swaplp, __fetch_and_addlp,
 __fetch_and_andlp, __fetch_and_orlp, __fetch_and_swaplp are
64 bit only. This patch ensures the compiler produces an error in 32 bit mode.
Details
Details
- Reviewers
- nemanjai - lei - amyk - stefanp 
- Group Reviewers
- Restricted Project 
- Commits
- rG83289665200b: [PowerPC] Fix to guard fetch and cas 64-bit builtin versions
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM with the test nit addressed.
| clang/test/CodeGen/builtins-ppc-xlcompat-fetch-cas-64bit-only-error.c | ||
|---|---|---|
| 1 ↗ | (On Diff #376312) | I imagine there must be an existing test case handling the other 64-bit only builtins that you can add this to. |