[PATCH] D99739: [GlobalISel] Allow different tyeps for G_SBFX and G_UBFX operands

Brendon Cahoon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 12:13:59 PDT 2021


bcahoon updated this revision to Diff 334791.
bcahoon retitled this revision from "[GlobalISel] Use i32 values for lsb and width with G_SBFX and G_UBFX" to "[GlobalISel] Allow different tyeps for G_SBFX and G_UBFX operands".
bcahoon edited the summary of this revision.
bcahoon added a comment.

Keep operand types for lsb and width to be the same type as the src/dst for AArch64.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99739/new/

https://reviews.llvm.org/D99739

Files:
  llvm/include/llvm/Target/GenericOpcodes.td
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-sextinreg.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-sbfx.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-ubfx.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
  llvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99739.334791.patch
Type: text/x-patch
Size: 6509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210401/8e3d2b1b/attachment.bin>


More information about the llvm-commits mailing list