[PATCH] D99739: [GlobalISel] Use i32 values for lsb and width with G_SBFX and G_UBFX

Brendon Cahoon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 09:07:46 PDT 2021


bcahoon created this revision.
bcahoon added reviewers: paquette, arsenm.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
bcahoon requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

lsb and width are constant values and can be represented as i32 types.
Test cases for AArch64 are updated to use i32 instead of i64 for lsb and width.


Repository:
  rG LLVM Github Monorepo

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/test/CodeGen/AArch64/GlobalISel/select-sbfx.mir
  llvm/test/CodeGen/AArch64/GlobalISel/select-ubfx.mir
  llvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp

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


More information about the llvm-commits mailing list