[PATCH] D68189: [InstCombine] recognize popcount implemented in hacker's delight.
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 29 04:28:06 PDT 2019
xbolva00 added a comment.
>> Maybe we need to add TargetTransformInfo in InstCombiner to make sure this combination only happens when getPopcntSupport is true.
Atleast on X86 it is not needed, since popcount expander expands intrinsic to exactly this pattern.
https://godbolt.org/z/i-rswr
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68189/new/
https://reviews.llvm.org/D68189
More information about the llvm-commits
mailing list