[llvm-commits] [llvm] r130416 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/rle.ll test/Transforms/PhaseOrdering/basic.ll
Duncan Sands
baldrick at free.fr
Thu Apr 28 12:57:41 PDT 2011
Hi Chris,
> --- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Thu Apr 28 13:15:47 2011
> @@ -967,6 +970,7 @@
> RV = Builder.CreateTrunc(RV, SrcVal->getType());
> SrcVal->replaceAllUsesWith(RV);
> gvn.getMemDep().removeInstruction(SrcVal);
> + //gvn.markInstructionForDeletion(SrcVal);
> SrcVal = NewLoad;
> }
I guess you didn't mean to commit this bit :)
Ciao, Duncan.
More information about the llvm-commits
mailing list