SCEV: When expanding a GEP the final addition to the base pointer has NUW but not...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 7 Apr 2012 17:19:26 +0000 (17:19 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 7 Apr 2012 17:19:26 +0000 (17:19 +0000)
commitc77764591b06655bca4313ccfb5b1b773849387e
tree09d033db1e09b2cb0f627e4f9616e648159b4055
parent93abbc272a1445d5108dfe9bddd323f6ac7b96a2
SCEV: When expanding a GEP the final addition to the base pointer has NUW but not NSW.

Found by inspection.

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