aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/LoopDeletion.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-22 21:39:50 +0000
committerOwen Anderson <resistor@mac.com>2009-06-22 21:39:50 +0000
commitecd0cd792e96592effe5ab6b7d57874bde28d54b (patch)
tree7d2038817349cb030a0b49423a325620dbaa1cb5 /lib/Transforms/Scalar/LoopDeletion.cpp
parent801d50befbb28a7151ce1d200e67636fe8268ba0 (diff)
downloadexternal_llvm-ecd0cd792e96592effe5ab6b7d57874bde28d54b.zip
external_llvm-ecd0cd792e96592effe5ab6b7d57874bde28d54b.tar.gz
external_llvm-ecd0cd792e96592effe5ab6b7d57874bde28d54b.tar.bz2
SCEVHandle is no more!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopDeletion.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopDeletion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopDeletion.cpp b/lib/Transforms/Scalar/LoopDeletion.cpp
index 6512672..302cdec 100644
--- a/lib/Transforms/Scalar/LoopDeletion.cpp
+++ b/lib/Transforms/Scalar/LoopDeletion.cpp
@@ -187,7 +187,7 @@ bool LoopDeletion::runOnLoop(Loop* L, LPPassManager& LPM) {
// Don't remove loops for which we can't solve the trip count.
// They could be infinite, in which case we'd be changing program behavior.
ScalarEvolution& SE = getAnalysis<ScalarEvolution>();
- SCEVHandle S = SE.getBackedgeTakenCount(L);
+ const SCEV* S = SE.getBackedgeTakenCount(L);
if (isa<SCEVCouldNotCompute>(S))
return false;