[AArch64][GlobalISel] Select @llvm.aarch64.ldxr.* intrinsics
authorJessica Paquette <jpaquette@apple.com>
Thu, 29 Aug 2019 16:33:01 +0000 (16:33 +0000)
committerJessica Paquette <jpaquette@apple.com>
Thu, 29 Aug 2019 16:33:01 +0000 (16:33 +0000)
commit87720ac8c8d3263b9ff97d9f46e2b83ed66a9750
treef1b101c2914d21f03748ac1550ea935d7b2c6b31
parentc327daeea588a8c336b7c545edc283bfe52a4778
[AArch64][GlobalISel] Select @llvm.aarch64.ldxr.* intrinsics

Same thing as D66897, but for ldxr.* instead. Add a GISelPredicateCode to the
ldxr_* definitions, which allows us to import them.

Add select-ldxr-intrin.mir, and update arm64-ldxr-stxr.ll.

Differential Revision: https://reviews.llvm.org/D66898

llvm-svn: 370378
llvm/lib/Target/AArch64/AArch64InstrAtomics.td
llvm/test/CodeGen/AArch64/GlobalISel/select-ldxr-intrin.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll