[PATCH] D108714: [AArch64][GlobalISel] Add a target-specific G_BIT opcode.

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 25 11:19:39 PDT 2021


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

This is necessary for custom-legalizing G_FCOPYSIGN.

This is equivalent to the BIT instruction (bitwise insert if true).

Add selection testcases for imported patterns.


https://reviews.llvm.org/D108714

Files:
  llvm/lib/Target/AArch64/AArch64InstrGISel.td
  llvm/test/CodeGen/AArch64/GlobalISel/select-bit.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108714.368684.patch
Type: text/x-patch
Size: 5547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210825/73553c3f/attachment.bin>


More information about the llvm-commits mailing list