diff options
author | Kamau Bridgeman <kamau.bridgeman@ibm.com> | 2021-09-30 08:20:22 -0500 |
---|---|---|
committer | Kamau Bridgeman <kamau.bridgeman@ibm.com> | 2021-10-04 14:45:36 -0500 |
commit | 83289665200b6b9212e0ff14e274b2c431a2e1fa (patch) | |
tree | bca25e1dc841e08664a539aff6808048fcfa543a /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 9dd3965e96d1f31f0d9303d503bbd12129cfe92b (diff) | |
download | llvm-83289665200b6b9212e0ff14e274b2c431a2e1fa.zip llvm-83289665200b6b9212e0ff14e274b2c431a2e1fa.tar.gz llvm-83289665200b6b9212e0ff14e274b2c431a2e1fa.tar.bz2 |
[PowerPC] Fix to guard fetch and cas 64-bit builtin versions
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.
Reviewed By: #powerpc, nemanjai
Differential Revision: https://reviews.llvm.org/D110824
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions