[PATCH] D50972: [InstCombine] Fold icmp ugt/ult (add nuw X, C2), C --> icmp ugt/ult X, (C - C2)

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 03:31:17 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL341353: [InstCombine] Fold icmp ugt/ult (add nuw X, C2), C --> icmp ugt/ult X, (C - C2) (authored by nzaghen, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D50972?vs=161734&id=163776#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50972

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/trunk/test/Analysis/ValueTracking/non-negative-phi-bits.ll
  llvm/trunk/test/Transforms/InstCombine/icmp-add.ll
  llvm/trunk/test/Transforms/LoopVectorize/X86/masked_load_store.ll
  llvm/trunk/test/Transforms/LoopVectorize/if-conversion-nest.ll
  llvm/trunk/test/Transforms/LoopVectorize/runtime-check.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50972.163776.patch
Type: text/x-patch
Size: 7594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180904/5a353d85/attachment.bin>


More information about the llvm-commits mailing list