Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.414 -> 1.415 --- Log message: fix a crash due to missing parens --- Diffs of the changes: (+1 -1) InstructionCombining.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.414 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.415 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.414 Fri Jan 13 16:48:06 2006 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Mon Jan 16 13:47:21 2006 @@ -748,7 +748,7 @@ // This is a sign extend if the top bits are known zero. Constant *Mask = ConstantInt::getAllOnesValue(XorLHS->getType()); Mask = ConstantExpr::getShl(Mask, - ConstantInt::get(Type::UByteTy, 64-TySizeBits-Size)); + ConstantInt::get(Type::UByteTy, 64-(TySizeBits-Size))); if (!MaskedValueIsZero(XorLHS, cast<ConstantInt>(Mask))) Size = 0; // Not a sign ext, but can't be any others either. goto FoundSExt; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits