[mips][sched] Split IIHiLo into II_MFHI_MFLO and II_MTHI_MTLO
[oota-llvm.git] / lib / CodeGen / TargetInstrInfo.cpp
index bdb1a6cefe5a113f16d35911d6c9e72f24680aa5..29249cfc8f6be1763a3bfdf881285dd4837b264d 100644 (file)
@@ -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;