[PATCH] D151122: [GlobalISel] Check if ShiftAmt is greater then size of operand

Acim Maravic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 09:28:07 PDT 2023


Acim-Maravic updated this revision to Diff 525220.
Acim-Maravic edited the summary of this revision.
Acim-Maravic added a comment.

- added new tests with vector types
- updated to support vector splat


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

https://reviews.llvm.org/D151122

Files:
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-divrem-insertpt-crash.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-from-extend-narrow.postlegal.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-from-extend-narrow.prelegal.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/sext_inreg.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/shl-ext-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151122.525220.patch
Type: text/x-patch
Size: 31333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230524/0e26d7ba/attachment-0001.bin>


More information about the llvm-commits mailing list