[llvm-commits] [llvm] r130416 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/rle.ll test/Transforms/PhaseOrdering/basic.ll
Chris Lattner
clattner at apple.com
Thu Apr 28 13:07:57 PDT 2011
On Apr 28, 2011, at 12:57 PM, Duncan Sands wrote:
> 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 :)
Fixed in r130426, thanks.
-Chris
More information about the llvm-commits
mailing list