mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +00:00
Remove dead stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12d8f2bafe
commit
a87e9cd069
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user