From: Nick Lewycky Date: Tue, 22 Jan 2008 05:42:02 +0000 (+0000) Subject: Enable the fix I just checked in, silly me. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=64105102246a6ddebf8b7184743fdd9ca2b5b081;p=oota-llvm.git Enable the fix I just checked in, silly me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46247 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 3e009ebce46..d17035c161e 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -6513,7 +6513,6 @@ static bool CanEvaluateInDifferentType(Value *V, const IntegerType *Ty, NumCastsRemoved); case Instruction::Mul: - break; // A multiply can be truncated by truncating its operands. return Ty->getBitWidth() < OrigTy->getBitWidth() && CanEvaluateInDifferentType(I->getOperand(0), Ty, CastOpc,