summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
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
commit1f26c188f86c48399d59bf74b993c08ae83f6e33 (patch)
treeeeafdd6110225276b30abcab376f857d19f8b1a2 /lib/Transforms/Scalar
parent4bf1e59819b3830efb9025673e43e928395fafd0 (diff)
downloadllvm-1f26c188f86c48399d59bf74b993c08ae83f6e33.tar.gz
llvm-1f26c188f86c48399d59bf74b993c08ae83f6e33.tar.bz2
llvm-1f26c188f86c48399d59bf74b993c08ae83f6e33.tar.xz
Remove misleading constant from comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 727f7bdcd1..31525102c7 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/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(