]> granicus.if.org Git - llvm/commitdiff
[InstCombine] fix typo in comment; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 20 Jun 2019 20:23:32 +0000 (20:23 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 20 Jun 2019 20:23:32 +0000 (20:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363974 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineCompares.cpp

index 467c6d9453bbaf44c3dcf753bc396dad2b17de09..78d9129d7ce6386c468bb2e4566e5e310757fb06 100644 (file)
@@ -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)))))