teach SCEV analysis of PHI nodes that PHI recurences formed
authorChris Lattner <sabre@nondot.org>
Sun, 9 Jan 2011 02:28:48 +0000 (02:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Jan 2011 02:28:48 +0000 (02:28 +0000)
commit6d5a2411aad379141df29687b8cec0938ab7ae61
tree7949687e72243113a25f85b2be1ce3efc56a3cd5
parentf1859891b7bef1ac8d5cea100f152aeb5783c3b3
teach SCEV analysis of PHI nodes that PHI recurences formed
with GEP instructions are always NUW, because PHIs cannot wrap
the end of the address space.

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