[PATCH] D127122: [InstCombine] reduce right-shift-of-left-shifted constant via demanded bits

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 07:26:55 PDT 2022


spatel updated this revision to Diff 434809.
spatel marked 2 inline comments as done.
spatel added a comment.

Adjusted code to allow non-uniform (non-splat) vector constants on the shifted (inner) constant.

The Alive2 proof is updated to match the new logic:
https://alive2.llvm.org/ce/z/P3dWDW


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

https://reviews.llvm.org/D127122

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  llvm/test/Transforms/InstCombine/shift-shift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127122.434809.patch
Type: text/x-patch
Size: 5953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220607/e07fa7dc/attachment.bin>


More information about the llvm-commits mailing list