aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-05-14 06:46:03 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-05-14 06:46:03 +0000
commit3e246dd0849154ec54dea4d5e421c24cd1524202 (patch)
tree1bb773557908260803c496451d5e787886c15611 /lib
parent506efdaef6f08d6ab4540a4adc08b5bdb8eadd36 (diff)
Backing out last check-in for now. It's causing an infinite loop gccas lencode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 99a000fa92..f25ac97ef5 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -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: {