summaryrefslogtreecommitdiffstats
path: root/lib
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
commita87e9cd0699822498a9cf0bac0a4e164b6968824 (patch)
tree981171463671866869db16866b11add1e567592b /lib
parent12d8f2bafedfda17f7c776073e7f86a62d4da999 (diff)
downloadexternal_llvm-a87e9cd0699822498a9cf0bac0a4e164b6968824.zip
external_llvm-a87e9cd0699822498a9cf0bac0a4e164b6968824.tar.gz
external_llvm-a87e9cd0699822498a9cf0bac0a4e164b6968824.tar.bz2
Remove dead stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/ExprTypeConvert.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp
index 56cb049..3cbbc76 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<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?