diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-24 17:32:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-24 17:32:20 +0000 |
commit | 1bcb9abb30b81aa6987de5107ff366a3aa33ae8d (patch) | |
tree | 888b1af49821339a72cb4051b1922fb5b963697e /lib/Target/PowerPC/PPC64ISelSimple.cpp | |
parent | 5e9666129a0273b73f7a11fbb46acb234a8760c7 (diff) |
eliminate dead variables, patch contributed by Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC64ISelSimple.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPC64ISelSimple.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPC64ISelSimple.cpp b/lib/Target/PowerPC/PPC64ISelSimple.cpp index 9fe3422383..30531b6eee 100644 --- a/lib/Target/PowerPC/PPC64ISelSimple.cpp +++ b/lib/Target/PowerPC/PPC64ISelSimple.cpp @@ -1519,7 +1519,6 @@ void PPC64ISel::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); @@ -1528,7 +1527,6 @@ void PPC64ISel::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); |