[PATCH] D114279: [InstSimplify] Fold X {lshr,udiv} C <u X --> true for nonzero X, non-identity C
Erik Desjardins via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 24 14:08:40 PST 2021
erikdesjardins updated this revision to Diff 389613.
erikdesjardins added a comment.
use >>u to make shift type explicit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114279/new/
https://reviews.llvm.org/D114279
Files:
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/compare.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114279.389613.patch
Type: text/x-patch
Size: 5484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/cb05e64c/attachment.bin>
More information about the llvm-commits
mailing list