From f79b35a0382d64a7850d28122eacafe1209130af Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Thu, 2 Jan 2014 19:38:41 +0000 Subject: [PATCH] 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 --- lib/CodeGen/TargetInstrInfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/CodeGen/TargetInstrInfo.cpp b/lib/CodeGen/TargetInstrInfo.cpp index bdb1a6cefe5..29249cfc8f6 100644 --- a/lib/CodeGen/TargetInstrInfo.cpp +++ b/lib/CodeGen/TargetInstrInfo.cpp @@ -531,9 +531,8 @@ TargetInstrInfo::foldMemoryOperand(MachineBasicBlock::iterator MI, 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;