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:
684b22d
)
Disable an xform that causes an infinite loop. This fixes PR1594
author
Chris Lattner
<sabre@nondot.org>
Thu, 2 Aug 2007 16:56:32 +0000
(16:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 2 Aug 2007 16:56:32 +0000
(16:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40739
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 84ae26427b79647cacbc8626df1d5e78d2e160fe..806c6e4da9b0f9482201687517550e3af625edf6 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-6385,6
+6385,7
@@
static bool CanEvaluateInDifferentType(Value *V, const IntegerType *Ty,
case Instruction::Trunc:
// If this is the same kind of case as our original (e.g. zext+zext), we
// can safely eliminate it.
+ break; // FIXME: This causes PR1594
if (I->getOpcode() == CastOpc) {
++NumCastsRemoved;
return true;