Remove dead vars
authorChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 18:06:45 +0000 (18:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 18:06:45 +0000 (18:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28255 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 6e24ad420507fc05736b9c75c30f9d1e5ed7b355..65944db1a96560426dcd21c51475c73096fe2a9d 100644 (file)
@@ -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.