[llvm-commits] [llvm] r40739 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
sabre at nondot.org
Thu Aug 2 09:56:33 PDT 2007
Author: lattner
Date: Thu Aug 2 11:56:32 2007
New Revision: 40739
URL: http://llvm.org/viewvc/llvm-project?rev=40739&view=rev
Log:
Disable an xform that causes an infinite loop. This fixes PR1594
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=40739&r1=40738&r2=40739&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Thu Aug 2 11:56:32 2007
@@ -6385,6 +6385,7 @@
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;
More information about the llvm-commits
mailing list