summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-07-11 07:36:19 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-07-11 07:36:19 +0000
commitda405e11550ff8f4f066ad0848ff3ddef7fdf15b (patch)
tree4d3b2fcdcf846b20294e150c1c51fc959bc2b365 /llvm/lib
parentf95b64acaa98786690f1b45158cc5bd63589d258 (diff)
downloadbcm5719-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.cpp2
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(
OpenPOWER on IntegriCloud