From b6d9c4181a57a4b57d92a4437761387606f49c2d Mon Sep 17 00:00:00 2001 From: Jakub Staszak Date: Mon, 31 Dec 2012 01:40:44 +0000 Subject: [PATCH] Grammo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171272 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp index 0fd1e2b2e4f..ab75318eaaa 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()) { -- 2.34.1