From: Sanjay Patel Date: Thu, 20 Jun 2019 20:23:32 +0000 (+0000) Subject: [InstCombine] fix typo in comment; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3575a5c66f71b18ee81ba5033865764811856e0b;p=llvm [InstCombine] fix typo in comment; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363974 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/InstCombine/InstCombineCompares.cpp b/lib/Transforms/InstCombine/InstCombineCompares.cpp index 467c6d9453b..78d9129d7ce 100644 --- a/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/lib/Transforms/InstCombine/InstCombineCompares.cpp @@ -3835,7 +3835,7 @@ Instruction *InstCombiner::foldICmpEquality(ICmpInst &I) { // (-A & A) == A --> (A & (A - 1)) == 0 // A == (A & -A) --> (A & (A - 1)) == 0 // A == (-A & A) --> (A & (A - 1)) == 0 - // TODO: This could be reduced by using the popct intrinsic. + // TODO: This could be reduced by using the ctpop intrinsic. A = nullptr; if (match(Op0, m_OneUse(m_c_And(m_OneUse(m_Neg(m_Specific(Op1))), m_Specific(Op1)))))