[PATCH] D50972: [InstCombine] Fold icmp ugt/ult (add nuw X, C2), C --> icmp ugt/ult X, (C - C2)
Nicola Zaghen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 21 08:36:42 PDT 2018
Nicola updated this revision to Diff 161734.
Nicola added a comment.
Updated after I committed the new tests.
Repository:
rL LLVM
https://reviews.llvm.org/D50972
Files:
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Analysis/ValueTracking/non-negative-phi-bits.ll
test/Transforms/InstCombine/icmp-add.ll
test/Transforms/LoopVectorize/X86/masked_load_store.ll
test/Transforms/LoopVectorize/if-conversion-nest.ll
test/Transforms/LoopVectorize/runtime-check.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50972.161734.patch
Type: text/x-patch
Size: 6586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180821/d78cf37a/attachment-0001.bin>
More information about the llvm-commits
mailing list