diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2008-07-11 07:36:19 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2008-07-11 07:36:19 +0000 |
| commit | da405e11550ff8f4f066ad0848ff3ddef7fdf15b (patch) | |
| tree | 4d3b2fcdcf846b20294e150c1c51fc959bc2b365 /llvm/lib | |
| parent | f95b64acaa98786690f1b45158cc5bd63589d258 (diff) | |
| download | bcm5719-llvm-da405e11550ff8f4f066ad0848ff3ddef7fdf15b.tar.gz bcm5719-llvm-da405e11550ff8f4f066ad0848ff3ddef7fdf15b.zip | |
Remove misleading constant from comment.
llvm-svn: 53452
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 727f7bdcd1e..31525102c71 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -5497,7 +5497,7 @@ Instruction *InstCombiner::visitICmpInst(ICmpInst &I) { 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( |

