summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
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
commit18d0438148870e2d557fb8b0038c7de6c112c323 (patch)
treefd62d0c062ea2b90ccab2c9d12b28184aa00b3c4 /llvm/lib/Transforms
parent215280d8b9953c91f305eaab7f82ee53f616e70f (diff)
downloadbcm5719-llvm-18d0438148870e2d557fb8b0038c7de6c112c323.tar.gz
bcm5719-llvm-18d0438148870e2d557fb8b0038c7de6c112c323.zip
Backing out last check-in for now. It's causing an infinite loop gccas lencode.
llvm-svn: 28284
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 99a000fa926..f25ac97ef5c 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/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: {
OpenPOWER on IntegriCloud