]> granicus.if.org Git - llvm/commit
[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)
commit82323bd1c98885c31811153eb7e3d7c68335d379
tree633b7093bb53def2c26906d0b68179301577a431
parent9ee9666e1e905db571b7b334e43f4e10818e2015
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370378 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrAtomics.td
test/CodeGen/AArch64/GlobalISel/select-ldxr-intrin.mir [new file with mode: 0644]
test/CodeGen/AArch64/arm64-ldxr-stxr.ll