diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 62896157d5b..102146945a0 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -605,7 +605,6 @@ void LICM::hoist(Instruction &I) { // 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.