Fix bug in previous checkin

llvm-svn: 3672
diff --git a/llvm/lib/Transforms/IPO/RaiseAllocations.cpp b/llvm/lib/Transforms/IPO/RaiseAllocations.cpp
index cc45735..241e1f5 100644
--- a/llvm/lib/Transforms/IPO/RaiseAllocations.cpp
+++ b/llvm/lib/Transforms/IPO/RaiseAllocations.cpp
@@ -123,6 +123,7 @@
 
         std::string Name(CI->getName()); CI->setName("");
         BI = new MallocInst(PtrSByte, Source, Name, BI);
+        CI->replaceAllUsesWith(BI);
         BIL.erase(I);
         Changed = true;
         ++NumRaised;