[LLVMdev] ScalarEvolution::createNodeForPHI

Andrew Trick atrick at apple.com
Wed Oct 2 16:45:23 PDT 2013


On Oct 2, 2013, at 4:30 PM, Hal Finkel <hfinkel at anl.gov> wrote:

>> I’m not sure how to make sense of an NUW flag coming from a sub.
> 
> I thought that sub nuw a, b just meant that we were allowed to assume that a >= b. No?

That’s a reasonable interpretation. The problem is that we canonicalize to add a, -b. This is a problem in Reassociate and SCEV.

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131002/70e1b340/attachment.html>


More information about the llvm-dev mailing list