Remove redundant fold call introduced in r195944. Thanks very much to Juergen

for pointing this out.
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198341 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2014-01-02 19:38:41 +00:00
parent 2370e55a53
commit f79b35a038

View File

@ -531,9 +531,8 @@ TargetInstrInfo::foldMemoryOperand(MachineBasicBlock::iterator MI,
NewMI = foldPatchpoint(MF, MI, Ops, FrameIndex, *this); NewMI = foldPatchpoint(MF, MI, Ops, FrameIndex, *this);
} else { } else {
// Ask the target to do the actual folding. // 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; if (!NewMI) return 0;