[llvm-commits] [llvm] r53452 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Nick Lewycky
nicholas at mxc.ca
Fri Jul 11 00:36:19 PDT 2008
Author: nicholas
Date: Fri Jul 11 02:36:19 2008
New Revision: 53452
URL: http://llvm.org/viewvc/llvm-project?rev=53452&view=rev
Log:
Remove misleading constant from comment.
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=53452&r1=53451&r2=53452&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Fri Jul 11 02:36:19 2008
@@ -5497,7 +5497,7 @@
break;
case Instruction::Mul:
if (ConstantInt *CI = dyn_cast<ConstantInt>(Op0I->getOperand(1))) {
- // a * Cst icmp eq/ne b * Cst --> a & 0x7f icmp b & 0x7f
+ // a * Cst icmp eq/ne b * Cst --> a & Mask icmp b & Mask
if (!CI->isZero() && !CI->isOne()) {
const APInt &AP = CI->getValue();
ConstantInt *Mask = ConstantInt::get(
More information about the llvm-commits
mailing list