summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InductionVariable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
committerChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
commit6ee2cf5d89f1695e229926ecee821e1a22759617 (patch)
treec51cccc2d47c58889c52738a191bfa3f6a2391a1 /llvm/lib/Analysis/InductionVariable.cpp
parent1d724408d0428dfcaa791618bbbe511197850d40 (diff)
downloadbcm5719-llvm-6ee2cf5d89f1695e229926ecee821e1a22759617.tar.gz
bcm5719-llvm-6ee2cf5d89f1695e229926ecee821e1a22759617.zip
Remove unneccesary &*
llvm-svn: 5871
Diffstat (limited to 'llvm/lib/Analysis/InductionVariable.cpp')
-rw-r--r--llvm/lib/Analysis/InductionVariable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InductionVariable.cpp b/llvm/lib/Analysis/InductionVariable.cpp
index c71033e4607..321c237c872 100644
--- a/llvm/lib/Analysis/InductionVariable.cpp
+++ b/llvm/lib/Analysis/InductionVariable.cpp
@@ -213,7 +213,7 @@ Value* InductionVariable::getExecutionCount(LoopInfo *LoopInfo) {
DEBUG(std::cerr << "no terminator instruction!");
return NULL;
}
- SetCondInst *SCI = dyn_cast<SetCondInst>(&*B->getCondition());
+ SetCondInst *SCI = dyn_cast<SetCondInst>(B->getCondition());
if (SCI && InductionType == Cannonical) {
DEBUG(std::cerr << "sci:" << *SCI);
OpenPOWER on IntegriCloud