[PATCH] D12948: [SCEV] Teach SCEV that A < B => (A+K) < (B+K) on no overflow.
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 17:16:52 PDT 2015
sanjoy updated this revision to Diff 35576.
sanjoy marked 3 inline comments as done.
sanjoy added a comment.
- Address Hal's review.
- Generalize the transform a little bit -- A s< B => A + C s< B + C if B s< INT_MIN - C even if C is negative. Add a test case for the same.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10452 bytes
Desc: not available
More information about the llvm-commits