From: Dan Gohman Date: Sat, 19 Jun 2010 22:50:35 +0000 (+0000) Subject: Restore a call to rememberInstruction which was accidentally dropped X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6f5fed253f58645bf45448893a585ffbd9914989;p=oota-llvm.git Restore a call to rememberInstruction which was accidentally dropped in refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106398 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ScalarEvolutionExpander.cpp b/lib/Analysis/ScalarEvolutionExpander.cpp index c47b33900e5..df562fa1344 100644 --- a/lib/Analysis/ScalarEvolutionExpander.cpp +++ b/lib/Analysis/ScalarEvolutionExpander.cpp @@ -46,6 +46,7 @@ Value *SCEVExpander::ReuseOrCreateCast(Value *V, const Type *Ty, rememberInstruction(NewCI); return NewCI; } + rememberInstruction(CI); return CI; }