Remove dead stuff
authorChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 23:32:01 +0000 (23:32 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 23:32:01 +0000 (23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28268 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ExprTypeConvert.cpp

index 56cb04944f167240207fb2bc1dcd6825b14c64c2..3cbbc768248c8feda08b20f09829e3c14eea9d7e 100644 (file)
@@ -195,8 +195,6 @@ Value *llvm::ConvertExpressionToType(Value *V, const Type *Ty,
 
   ValueMapCache::ExprMapTy::iterator VMCI = VMC.ExprMap.find(V);
   if (VMCI != VMC.ExprMap.end()) {
-    const Value *GV = VMCI->second;
-    const Type *GTy = VMCI->second->getType();
     assert(VMCI->second->getType() == Ty);
 
     if (Instruction *I = dyn_cast<Instruction>(V))
@@ -518,8 +516,6 @@ static bool OperandConvertibleToType(User *U, Value *V, const Type *Ty,
     return false;
 
   case Instruction::Store: {
-    StoreInst *SI = cast<StoreInst>(I);
-
     if (V == I->getOperand(0)) {
       ValueTypeCache::iterator CTMI = CTMap.find(I->getOperand(1));
       if (CTMI != CTMap.end()) {   // Operand #1 is in the table already?