[PATCH] D65780: [GlobalISel][AArch64] Use a GISelPredicateCode to select llvm.aarch64.stlxr.*

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 14:59:18 PDT 2019


paquette created this revision.
paquette added a reviewer: aemerson.
Herald added subscribers: Petar.Avramovic, hiraditya, kristof.beyls, javed.absar, rovka.
Herald added a project: LLVM.

Remove manual selection code for this intrinsic and use a GISelPredicateCode instead.

      

This allows us to fully select this intrinsic without any tricky custom C++ matching for small types.

This is dependent on D65756 <https://reviews.llvm.org/D65756>, since these intrinsics use llvm_anyptr_ty.


https://reviews.llvm.org/D65780

Files:
  llvm/lib/Target/AArch64/AArch64InstrAtomics.td
  llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/select-stlxr-intrin.mir
  llvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65780.213473.patch
Type: text/x-patch
Size: 8607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190805/b6bf946a/attachment.bin>


More information about the llvm-commits mailing list