[PATCH] D12948: [SCEV] Teach SCEV that A < B => (A+1) < (B+1) on no overflow.

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 13:57:34 PDT 2015


sanjoy updated this revision to Diff 35132.
sanjoy added a comment.

- address review by Arnaud: handle addition by arbitrary constants, not just 1


http://reviews.llvm.org/D12948

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/ScalarEvolution.cpp
  test/Transforms/IndVarSimplify/eliminate-comparison.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12948.35132.patch
Type: text/x-patch
Size: 8842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150918/bf830ce2/attachment.bin>


More information about the llvm-commits mailing list