[llvm] r363974 - [InstCombine] fix typo in comment; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 13:23:32 PDT 2019
Author: spatel
Date: Thu Jun 20 13:23:32 2019
New Revision: 363974
URL: http://llvm.org/viewvc/llvm-project?rev=363974&view=rev
Log:
[InstCombine] fix typo in comment; NFC
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp?rev=363974&r1=363973&r2=363974&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp Thu Jun 20 13:23:32 2019
@@ -3835,7 +3835,7 @@ Instruction *InstCombiner::foldICmpEqual
// (-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)))))
More information about the llvm-commits
mailing list