[PATCH] D90820: [AArch64][GlobalISel] Add AArch64::G_DUPLANE[X] opcodes for lane duplicates.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 21:26:46 PST 2020


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

These were previously handled by pattern matching shuffles in the selector, but adding a new opcode and making it equivalent to the AArch64duplane SDAG node allows us to select more patterns, like lane indexed FMLAs (patch adding a test for that will be committed later).

The pattern matching code has been simply moved to postlegalize lowering.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90820

Files:
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/lib/Target/AArch64/AArch64InstrGISel.td
  llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
  llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-shuffle-duplane.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90820.303029.patch
Type: text/x-patch
Size: 12771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201105/0a42dfde/attachment.bin>


More information about the llvm-commits mailing list