summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-24 17:32:20 +0000
committerChris Lattner <sabre@nondot.org>2005-03-24 17:32:20 +0000
commitb15317b74a1dde48dc9a03b25e970d059f4c6805 (patch)
tree7c46e37b4c943121239ed8526f118596484e4f54 /llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
parent7ec19b4d5a0389c54b25bceab83bf4da80b87ae6 (diff)
downloadbcm5719-llvm-b15317b74a1dde48dc9a03b25e970d059f4c6805.tar.gz
bcm5719-llvm-b15317b74a1dde48dc9a03b25e970d059f4c6805.zip
eliminate dead variables, patch contributed by Gabor Greif!
llvm-svn: 20812
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp b/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
index c3675dc2cda..f2b5cec2e19 100644
--- a/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
@@ -1914,7 +1914,6 @@ void PPC32ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
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 @@ void PPC32ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
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);
OpenPOWER on IntegriCloud