Factor out some of the code for updating old SCEVUnknown values, and
authorDan Gohman <gohman@apple.com>
Thu, 29 Jul 2010 00:17:55 +0000 (00:17 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 29 Jul 2010 00:17:55 +0000 (00:17 +0000)
commitc6743207e20904008d2de016adfa6b0a9355c0e7
tree8f727d234ed249b9d463ddf3c4658401a81dd93a
parente2fb451dbb50d9b1b4254f5acc7c98b1a8ebd3cf
Factor out some of the code for updating old SCEVUnknown values, and
extend it to handle the case where multiple RAUWs affect a single
SCEVUnknown.

Add a ScalarEvolution unittest to test for this situation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109705 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Analysis/ScalarEvolutionExpressions.h
lib/Analysis/ScalarEvolution.cpp
unittests/Analysis/Makefile [new file with mode: 0644]
unittests/Analysis/ScalarEvolutionTest.cpp [new file with mode: 0644]
unittests/Makefile