Set NSW/NUW flags on SCEVAddExpr when the operation is flagged as
authorAndrew Trick <atrick@apple.com>
Sat, 10 Sep 2011 01:09:50 +0000 (01:09 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 10 Sep 2011 01:09:50 +0000 (01:09 +0000)
commit543376743c900806109c75d4fd12c4ba01020cfe
tree6ae92f15cb24eec26e1eda8554333060e5c187fd
parent2e3734e2d948af7c61c1957742811cdfca0e2516
Set NSW/NUW flags on SCEVAddExpr when the operation is flagged as
such.

I'm doing this now for completeness because I can't think of/remember
any reason that it was left out. I'm not sure it will help anything,
but if we don't do it we need to explain why in comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139450 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp