[PATCH] D106332: [AArch64][GlobalISel] Select llvm.aarch64.neon.st2 intrinsics

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 18:37:20 PDT 2021


paquette created this revision.
paquette added reviewers: aemerson, jroelofs.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
paquette requested review of this revision.
Herald added a project: LLVM.

Add manual selection code similar to the code in AArch64ISelDAGToDAG, and add `createTuple` helpers similar to the code there as well.

This accounted for around 111 fallbacks while building clang for AArch64 with GlobalISel.

This also should make it easy to add selection code for other store intrinsics.

As a minor cleanup, this uses `createQTuple` in the other place where we use REG_SEQUENCE.

https://godbolt.org/z/5cn4MMGo3


https://reviews.llvm.org/D106332

Files:
  llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/select-st2.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106332.359981.patch
Type: text/x-patch
Size: 14094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/623b196a/attachment.bin>


More information about the llvm-commits mailing list