[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 24 09:32:27 PST 2005
Changes in directory llvm/lib/Target/X86:
X86ISelSimple.cpp updated: 1.309 -> 1.310
---
Log message:
eliminate dead variables, patch contributed by Gabor Greif!
---
Diffs of the changes: (+0 -2)
X86ISelSimple.cpp | 2 --
1 files changed, 2 deletions(-)
Index: llvm/lib/Target/X86/X86ISelSimple.cpp
diff -u llvm/lib/Target/X86/X86ISelSimple.cpp:1.309 llvm/lib/Target/X86/X86ISelSimple.cpp:1.310
--- llvm/lib/Target/X86/X86ISelSimple.cpp:1.309 Mon Mar 14 22:54:20 2005
+++ llvm/lib/Target/X86/X86ISelSimple.cpp Thu Mar 24 11:32:10 2005
@@ -1762,7 +1762,6 @@
case Intrinsic::readio: {
// On X86, memory operations are in-order. Lower this intrinsic
// into a volatile load.
- Instruction *Before = CI->getPrev();
LoadInst * LI = new LoadInst(CI->getOperand(1), "", true, CI);
CI->replaceAllUsesWith(LI);
BB->getInstList().erase(CI);
@@ -1771,7 +1770,6 @@
case Intrinsic::writeio: {
// On X86, memory operations are in-order. Lower this intrinsic
// into a volatile store.
- Instruction *Before = CI->getPrev();
StoreInst *LI = new StoreInst(CI->getOperand(1),
CI->getOperand(2), true, CI);
CI->replaceAllUsesWith(LI);
More information about the llvm-commits
mailing list