[llvm-commits] [llvm] r67798 - /llvm/trunk/lib/Transforms/Scalar/LICM.cpp

Devang Patel dpatel at apple.com
Thu Mar 26 16:48:52 PDT 2009


Author: dpatel
Date: Thu Mar 26 18:48:52 2009
New Revision: 67798

URL: http://llvm.org/viewvc/llvm-project?rev=67798&view=rev
Log:
While hoisting an instruction, update alias info set tracker.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LICM.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LICM.cpp?rev=67798&r1=67797&r2=67798&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LICM.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LICM.cpp Thu Mar 26 18:48:52 2009
@@ -605,6 +605,7 @@
 
   // Remove the instruction from its current basic block... but don't delete the
   // instruction.
+  CurAST->deleteValue(&I);
   I.removeFromParent();
 
   // Insert the new node in Preheader, before the terminator.





More information about the llvm-commits mailing list