[PATCH] D67849: [InstCombine] (a+b) < a && (a+b) != 0 -> (0-b) < a iff a/b != 0 (PR43259)

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 09:10:46 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372768: [InstCombine] (a+b) < a && (a+b) != 0 -> (0-b) < a iff a/b != 0 (PR43259) (authored by lebedevri, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D67849?vs=221503&id=221551#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D67849

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/trunk/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67849.221551.patch
Type: text/x-patch
Size: 8904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190924/429b2ce0/attachment.bin>


More information about the llvm-commits mailing list