[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp PPC64ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 24 09:32:33 PST 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.125 -> 1.126
PPC64ISelSimple.cpp updated: 1.17 -> 1.18
---
Log message:
eliminate dead variables, patch contributed by Gabor Greif!
---
Diffs of the changes: (+0 -4)
PPC32ISelSimple.cpp | 2 --
PPC64ISelSimple.cpp | 2 --
2 files changed, 4 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.125 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.126
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.125 Thu Mar 24 00:28:42 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Thu Mar 24 11:32:19 2005
@@ -1914,7 +1914,6 @@
case Intrinsic::readio: {
// On PPC, 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);
@@ -1923,7 +1922,6 @@
case Intrinsic::writeio: {
// On PPC, memory operations are in-order. Lower this intrinsic
// into a volatile store.
- Instruction *Before = CI->getPrev();
StoreInst *SI = new StoreInst(CI->getOperand(1),
CI->getOperand(2), true, CI);
CI->replaceAllUsesWith(SI);
Index: llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.17 llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.18
--- llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.17 Mon Mar 14 22:54:19 2005
+++ llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp Thu Mar 24 11:32:20 2005
@@ -1519,7 +1519,6 @@
case Intrinsic::readio: {
// On PPC, 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);
@@ -1528,7 +1527,6 @@
case Intrinsic::writeio: {
// On PPC, memory operations are in-order. Lower this intrinsic
// into a volatile store.
- Instruction *Before = CI->getPrev();
StoreInst *SI = new StoreInst(CI->getOperand(1),
CI->getOperand(2), true, CI);
CI->replaceAllUsesWith(SI);
More information about the llvm-commits
mailing list