summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-19 22:50:35 +0000
committerDan Gohman <gohman@apple.com>2010-06-19 22:50:35 +0000
commitc515ab1eb21a93a7bef36671a7910517b572956d (patch)
tree2cf15ac5bd962e4eabd289ec2256a6859cb58852 /llvm/lib/Analysis/ScalarEvolutionExpander.cpp
parent32655906e45884656d70878527bc7fe24b7f4e05 (diff)
downloadbcm5719-llvm-c515ab1eb21a93a7bef36671a7910517b572956d.tar.gz
bcm5719-llvm-c515ab1eb21a93a7bef36671a7910517b572956d.zip
Restore a call to rememberInstruction which was accidentally dropped
in refactoring. llvm-svn: 106398
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionExpander.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolutionExpander.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
index c47b33900e5..df562fa1344 100644
--- a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
+++ b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
@@ -46,6 +46,7 @@ Value *SCEVExpander::ReuseOrCreateCast(Value *V, const Type *Ty,
rememberInstruction(NewCI);
return NewCI;
}
+ rememberInstruction(CI);
return CI;
}
OpenPOWER on IntegriCloud