aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 84ae26427b..806c6e4da9 100644
--- 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;