[PATCH] D60100: [AArch64][GlobalISel] Select llvm.aarch64.stlxr(i64, i64*)

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 15:14:12 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.

This adds partial instruction selection support for llvm.aarch64.stlxr.

It also factors out selection for G_INTRINSIC_W_SIDE_EFFECTS into its own function. Originally, we were only allowing G_INTRINSIC_W_SIDE_EFFECTS instructions where the 0th operand was the intrinsic ID. This new function does away with that restriction.

Also add a test, and add a GISel line to arm64-ldxr-stxr.ll.


https://reviews.llvm.org/D60100

Files:
  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: D60100.193182.patch
Type: text/x-patch
Size: 5913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190401/d329f171/attachment.bin>


More information about the llvm-commits mailing list