aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MBlaze
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-06-29 11:22:26 +0000
committerDuncan Sands <baldrick@free.fr>2010-06-29 11:22:26 +0000
commit90c64f4aac95ebfcdeb8ad78a373fdb9e61b002c (patch)
tree337467e45698e9d12556ef7032032905866898ab /lib/Target/MBlaze
parent51370298b848f215762bd8203afa64d0e2c89581 (diff)
downloadexternal_llvm-90c64f4aac95ebfcdeb8ad78a373fdb9e61b002c.zip
external_llvm-90c64f4aac95ebfcdeb8ad78a373fdb9e61b002c.tar.gz
external_llvm-90c64f4aac95ebfcdeb8ad78a373fdb9e61b002c.tar.bz2
Remove initialized but otherwise unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r--lib/Target/MBlaze/MBlazeISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/MBlaze/MBlazeISelLowering.cpp b/lib/Target/MBlaze/MBlazeISelLowering.cpp
index 23889b1..6cdb17d 100644
--- a/lib/Target/MBlaze/MBlazeISelLowering.cpp
+++ b/lib/Target/MBlaze/MBlazeISelLowering.cpp
@@ -439,10 +439,8 @@ LowerJumpTable(SDValue Op, SelectionDAG &DAG) const {
SDValue MBlazeTargetLowering::
LowerConstantPool(SDValue Op, SelectionDAG &DAG) const {
SDValue ResNode;
- EVT PtrVT = Op.getValueType();
ConstantPoolSDNode *N = cast<ConstantPoolSDNode>(Op);
const Constant *C = N->getConstVal();
- SDValue Zero = DAG.getConstant(0, PtrVT);
DebugLoc dl = Op.getDebugLoc();
SDValue CP = DAG.getTargetConstantPool(C, MVT::i32, N->getAlignment(),