summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 23:32:01 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 23:32:01 +0000
commit94acc476542c692d2bad45f6f85d47dbe0d88d57 (patch)
treef5bd0d8f0284b041723ec8926223d65d8e35812a /llvm/lib/Transforms
parent768bc20b743df2cea5aea8f44dab3538596c3fb1 (diff)
downloadbcm5719-llvm-94acc476542c692d2bad45f6f85d47dbe0d88d57.tar.gz
bcm5719-llvm-94acc476542c692d2bad45f6f85d47dbe0d88d57.zip
Remove dead stuff
llvm-svn: 28268
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/ExprTypeConvert.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/ExprTypeConvert.cpp b/llvm/lib/Transforms/ExprTypeConvert.cpp
index 56cb04944f1..3cbbc768248 100644
--- a/llvm/lib/Transforms/ExprTypeConvert.cpp
+++ b/llvm/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<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?
OpenPOWER on IntegriCloud