[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri May 12 11:06:59 PDT 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.238 -> 1.239
---
Log message:

Remove dead vars


---
Diffs of the changes:  (+0 -2)

 SelectionDAGISel.cpp |    2 --
 1 files changed, 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.238 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.239
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.238	Thu May 11 18:55:42 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Fri May 12 13:06:45 2006
@@ -1199,7 +1199,6 @@
 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 @@
   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.






More information about the llvm-commits mailing list