[OpaquePtr][AArch64] Use elementtype on ldxr/stxr
authorArthur Eubanks <aeubanks@google.com>
Thu, 24 Feb 2022 23:51:00 +0000 (15:51 -0800)
committerArthur Eubanks <aeubanks@google.com>
Mon, 14 Mar 2022 17:09:59 +0000 (10:09 -0700)
commit250620f76e070cbbd4e8511f751f577b6e1633ac
tree6e05cbae8f3136e296445075dd89a383b536f09a
parent5d25267d80443b988065507d40ac3a1e902c778b
[OpaquePtr][AArch64] Use elementtype on ldxr/stxr

Includes verifier changes checking the elementtype, clang codegen
changes to emit the elementtype, and ISel changes using the elementtype.

Reviewed By: #opaque-pointers, nikic

Differential Revision: https://reviews.llvm.org/D120527
15 files changed:
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/arm_acle.c
clang/test/CodeGen/builtins-arm-exclusive.c
clang/test/CodeGenCXX/builtins-arm-exclusive.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/Bitcode/upgrade-aarch64-ldstxr.bc [new file with mode: 0644]
llvm/test/Bitcode/upgrade-aarch64-ldstxr.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
llvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll
llvm/test/CodeGen/AArch64/arm64_32-atomics.ll
llvm/test/Transforms/AtomicExpand/AArch64/expand-atomicrmw-xchg-fp.ll
llvm/test/Transforms/ConstantHoisting/AArch64/const-hoist-intrinsics.ll
llvm/test/Verifier/aarch64-ldstxr.ll [new file with mode: 0644]