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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 09:12:46 PDT 2019


lebedev.ri updated this revision to Diff 221353.
lebedev.ri added a comment.

Rebased after changing variable name.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67849

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/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.221353.patch
Type: text/x-patch
Size: 9595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190923/d53fc315/attachment.bin>


More information about the llvm-commits mailing list