[PATCH] D10161: [SCEV][LoopVectorize] Allow ScalarEvolution to make assumptions about overflows

Arnold Schwaighofer aschwaighofer at apple.com
Thu Jul 16 10:17:57 PDT 2015


aschwaighofer added a comment.

I think this change is orthogonal to improving SCEV for cases where we can prove no wrapping by looking at the IR. At the high level this change looks good to me (I have always wanted to have the ability for SCEV to gather assumptions needed to prove no wrapping) - and the examples demonstrate that there is a need. Silviu has addressed the issue of only generating the checks when needed.

I'll leave it to Sanjoy and Adam to do a detailed review.


http://reviews.llvm.org/D10161







More information about the llvm-commits mailing list