summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-06-20 20:23:32 +0000
committerSanjay Patel <spatel@rotateright.com>2019-06-20 20:23:32 +0000
commit273d97e6bf4eef567499fd3bb0ff23eb6897de9b (patch)
treeb17d29341e206d7cef685c33d4ac0455726e4f04
parent3fd3de147b998c4cfca8c1945165d7346dfdf260 (diff)
downloadbcm5719-llvm-273d97e6bf4eef567499fd3bb0ff23eb6897de9b.tar.gz
bcm5719-llvm-273d97e6bf4eef567499fd3bb0ff23eb6897de9b.zip
[InstCombine] fix typo in comment; NFC
llvm-svn: 363974
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
index 467c6d9453b..78d9129d7ce 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+++ b/llvm/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)))))
OpenPOWER on IntegriCloud