From 08efc014794851bb72fbb5bb1d7fc0439aca03d3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 12 May 2006 23:32:01 +0000 Subject: [PATCH] Remove dead stuff llvm-svn: 28268 --- lib/Transforms/ExprTypeConvert.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index 56cb04944f1..3cbbc768248 100644 --- a/lib/Transforms/ExprTypeConvert.cpp +++ b/lib/Transforms/ExprTypeConvert.cpp @@ -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(V)) @@ -518,8 +516,6 @@ static bool OperandConvertibleToType(User *U, Value *V, const Type *Ty, return false; case Instruction::Store: { - StoreInst *SI = cast(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?