projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
506efda
)
Backing out last check-in for now. It's causing an infinite loop gccas lencode.
author
Evan Cheng
<evan.cheng@apple.com>
Sun, 14 May 2006 06:46:03 +0000
(06:46 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sun, 14 May 2006 06:46:03 +0000
(06:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28284
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 99a000fa9269031108bb82844ed408955affa6e2..f25ac97ef5c62070366003b7f6ac4b12cf3380f1 100644
(file)
--- 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: {