[PATCH] D66533: [MIPS GlobalISel] ClampScalar G_SHL, G_ASHR and G_LSHR

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 07:02:34 PDT 2019


Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj, arsenm, aemerson.
Herald added subscribers: llvm-commits, volkan, jrtc27, arichardson, javed.absar, rovka, nhaehnle, wdng, jvesely, sdardis.
Herald added a project: LLVM.

Fix NarrowScalar expansion for G_SHL, G_ASHR and G_LSHR,
refactor G_ASHR and G_LSHR to same case.
ClampScalar G_SHL, G_ASHR and G_LSHR to s32 for MIPS32


Repository:
  rL LLVM

https://reviews.llvm.org/D66533

Files:
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/Target/Mips/MipsLegalizerInfo.cpp
  test/CodeGen/AArch64/GlobalISel/legalize-shift.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
  test/CodeGen/Mips/GlobalISel/legalizer/bitwise.mir
  test/CodeGen/Mips/GlobalISel/llvm-ir/bitwise.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66533.216392.patch
Type: text/x-patch
Size: 128188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190821/2d825fd7/attachment-0001.bin>


More information about the llvm-commits mailing list