Remove redundant fold call introduced in r195944. Thanks very much to Juergen
for pointing this out.
llvm-svn: 198341
diff --git a/llvm/lib/CodeGen/TargetInstrInfo.cpp b/llvm/lib/CodeGen/TargetInstrInfo.cpp
index bdb1a6c..29249cf 100644
--- a/llvm/lib/CodeGen/TargetInstrInfo.cpp
+++ b/llvm/lib/CodeGen/TargetInstrInfo.cpp
@@ -531,9 +531,8 @@
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;