summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 18:06:45 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 18:06:45 +0000
commit53cdb2f2b0b29a09cf70ad3f9188042fd183c302 (patch)
tree9b9a20b42d8b530487845c48ed09798892323fe0
parentda076e41ab663c5924acc8354bf2e6d4ff77d041 (diff)
downloadbcm5719-llvm-53cdb2f2b0b29a09cf70ad3f9188042fd183c302.tar.gz
bcm5719-llvm-53cdb2f2b0b29a09cf70ad3f9188042fd183c302.zip
Remove dead vars
llvm-svn: 28255
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 6e24ad42050..65944db1a96 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1199,7 +1199,6 @@ void SelectionDAGLowering::visitShuffleVector(User &I) {
void SelectionDAGLowering::visitGetElementPtr(User &I) {
SDOperand N = getValue(I.getOperand(0));
const Type *Ty = I.getOperand(0)->getType();
- const Type *UIntPtrTy = TD->getIntPtrType();
for (GetElementPtrInst::op_iterator OI = I.op_begin()+1, E = I.op_end();
OI != E; ++OI) {
@@ -3456,7 +3455,6 @@ SelectInlineAsmMemoryOperands(std::vector<SDOperand> &Ops, SelectionDAG &DAG) {
Ops.push_back(InOps[0]); // input chain.
Ops.push_back(InOps[1]); // input asm string.
- const char *AsmStr = cast<ExternalSymbolSDNode>(InOps[1])->getSymbol();
unsigned i = 2, e = InOps.size();
if (InOps[e-1].getValueType() == MVT::Flag)
--e; // Don't process a flag operand if it is here.
OpenPOWER on IntegriCloud