Change ScalarEvolution::getSCEVAtScope to always return the original value
authorDan Gohman <gohman@apple.com>
Sun, 24 May 2009 23:25:42 +0000 (23:25 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 24 May 2009 23:25:42 +0000 (23:25 +0000)
commitd594e6f0345b3e1e4b640a7099596ca613da16d6
treec9ab0d07f9aeac3c437e49475182988a41c2dcbe
parentc046c00d0a1f65483a8c69f26c66fc74f5228332
Change ScalarEvolution::getSCEVAtScope to always return the original value
in the case where a loop exit value cannot be computed, instead of only in
some cases while using SCEVCouldNotCompute in others. This simplifies
getSCEVAtScope's callers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72375 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
lib/Transforms/Scalar/IndVarSimplify.cpp