Backing out last check-in for now. It's causing an infinite loop gccas lencode.
llvm-svn: 28284
This commit is contained in:
parent
215280d8b9
commit
18d0438148
|
@ -4793,9 +4793,6 @@ static bool CanEvaluateInDifferentType(Value *V, const Type *Ty,
|
|||
if (!I || !I->hasOneUse()) return false;
|
||||
|
||||
switch (I->getOpcode()) {
|
||||
case Instruction::Add:
|
||||
case Instruction::Sub:
|
||||
case Instruction::Mul:
|
||||
case Instruction::And:
|
||||
case Instruction::Or:
|
||||
case Instruction::Xor:
|
||||
|
@ -4827,9 +4824,6 @@ Value *InstCombiner::EvaluateInDifferentType(Value *V, const Type *Ty) {
|
|||
Instruction *I = cast<Instruction>(V);
|
||||
Instruction *Res;
|
||||
switch (I->getOpcode()) {
|
||||
case Instruction::Add:
|
||||
case Instruction::Sub:
|
||||
case Instruction::Mul:
|
||||
case Instruction::And:
|
||||
case Instruction::Or:
|
||||
case Instruction::Xor: {
|
||||
|
|
Loading…
Reference in New Issue