[llvm] r198341 - Remove redundant fold call introduced in r195944. Thanks very much to Juergen
Lang Hames
lhames at gmail.com
Thu Jan 2 11:38:41 PST 2014
Author: lhames
Date: Thu Jan 2 13:38:41 2014
New Revision: 198341
URL: http://llvm.org/viewvc/llvm-project?rev=198341&view=rev
Log:
Remove redundant fold call introduced in r195944. Thanks very much to Juergen
for pointing this out.
Modified:
llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp
Modified: llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp?rev=198341&r1=198340&r2=198341&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp Thu Jan 2 13:38:41 2014
@@ -531,9 +531,8 @@ TargetInstrInfo::foldMemoryOperand(Machi
NewMI = foldPatchpoint(MF, MI, Ops, FrameIndex, *this);
} else {
// Ask the target to do the actual folding.
- NewMI =foldMemoryOperandImpl(MF, MI, Ops, LoadMI);
+ NewMI = foldMemoryOperandImpl(MF, MI, Ops, LoadMI);
}
- foldMemoryOperandImpl(MF, MI, Ops, LoadMI);
if (!NewMI) return 0;
More information about the llvm-commits
mailing list