[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
John Criswell
criswell at cs.uiuc.edu
Wed Apr 14 16:29:01 PDT 2004
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.237 -> 1.238
---
Log message:
Remove code to adjust the iterator for llvm.readio and llvm.writeio.
The iterator is pointing at the next instruction which should not disappear
when doing the load/store replacement.
---
Diffs of the changes: (+0 -10)
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.237 llvm/lib/Target/X86/InstSelectSimple.cpp:1.238
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.237 Tue Apr 13 17:13:14 2004
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Wed Apr 14 16:27:56 2004
@@ -1548,11 +1548,6 @@
LoadInst * LI = new LoadInst (CI->getOperand(1), "", true, CI);
CI->replaceAllUsesWith (LI);
BB->getInstList().erase (CI);
- if (Before) { // Move iterator to instruction after call
- I = Before; ++I;
- } else {
- I = BB->begin();
- }
break;
}
case Intrinsic::writeio: {
@@ -1563,11 +1558,6 @@
CI->getOperand(2), true, CI);
CI->replaceAllUsesWith (LI);
BB->getInstList().erase (CI);
- if (Before) { // Move iterator to instruction after call
- I = Before; ++I;
- } else {
- I = BB->begin();
- }
break;
}
default:
More information about the llvm-commits
mailing list