[PATCH] D129726: [InstCombine] (ShiftValC >> Y) >s -1/<s 0 --> Y != 0/==0

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 01:23:46 PDT 2022


Chenbing.Zheng updated this revision to Diff 446070.
Chenbing.Zheng retitled this revision from "[InstCombine] (ShiftValC >> Y) >s -1 --> Y != 0 with ShiftValC < 0" to "[InstCombine] (ShiftValC >> Y) >s -1/<s 0 --> Y != 0/==0 ".
Chenbing.Zheng edited the summary of this revision.
Chenbing.Zheng added a comment.

address comments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129726

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-shr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129726.446070.patch
Type: text/x-patch
Size: 4835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220720/dfff2dca/attachment.bin>


More information about the llvm-commits mailing list