revert my fastisel patch again which apparently still gives the
llvm-gcc-i386-linux-selfhost buildbot heartburn...
llvm-svn: 123431
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 9d42ac2e..f29d127 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -1933,7 +1933,7 @@
XII.foldMemoryOperandImpl(*FuncInfo.MF, MI, OpNo, AddrOps, Size, Alignment);
if (Result == 0) return false;
- FuncInfo.MBB->insert(FuncInfo.InsertPt, Result);
+ MI->getParent()->insert(MI, Result);
MI->eraseFromParent();
return true;
}