From e12d58362176a7ea7ead7afa157194c18359499f Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 28 Apr 2011 20:09:57 +0000 Subject: [PATCH] Fix a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130428 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 0cbb1fe9ec1..75e93127e7e 100644 --- a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp @@ -770,7 +770,7 @@ Value *InstCombiner::FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS) { } } - // (trunc x) == C1 & (and x, CA) == C2 -> (and CA|CMAX) == C1|C2 + // (trunc x) == C1 & (and x, CA) == C2 -> (and x, CA|CMAX) == C1|C2 // where CMAX is the all ones value for the truncated type, // iff the lower bits of CA are zero. if (LHSCC == RHSCC && ICmpInst::isEquality(LHSCC) && -- 2.34.1