summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJakub Staszak <kubastaszak@gmail.com>2012-12-31 01:40:44 +0000
committerJakub Staszak <kubastaszak@gmail.com>2012-12-31 01:40:44 +0000
commitb6d9c4181a57a4b57d92a4437761387606f49c2d (patch)
treede2c70f0824b57b97bf26f67db973a7d0e555b67 /lib
parent9d30e7208e6b2bc3fa48305e3ae371188f643425 (diff)
downloadllvm-b6d9c4181a57a4b57d92a4437761387606f49c2d.tar.gz
llvm-b6d9c4181a57a4b57d92a4437761387606f49c2d.tar.bz2
llvm-b6d9c4181a57a4b57d92a4437761387606f49c2d.tar.xz
Grammo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/InstCombine/InstCombineAndOrXor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
index 0fd1e2b2e4..ab75318eaa 100644
--- a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+++ b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
@@ -1526,7 +1526,7 @@ Value *InstCombiner::FoldOrOfICmps(ICmpInst *LHS, ICmpInst *RHS) {
}
if (LHS->getOperand(0) == RHS->getOperand(0)) {
- // if LHSCst and RHSCst differ with only one bit:
+ // if LHSCst and RHSCst differ only by one bit:
// (A == C1 || A == C2) -> (A & ~(C1 ^ C2)) == C1
APInt Xor = LHSCst->getValue() ^ RHSCst->getValue();
if (Xor.isPowerOf2()) {