[PATCH] D68189: [InstCombine] recognize popcount implemented in hacker's delight.

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 20:01:46 PDT 2019


shchenz added a comment.

Yes, D45173 <https://reviews.llvm.org/D45173> recognizes some standards forms of popcount, but it can not recognize the one in benchmark deepsjeng. There are many forms of popcount, this one is `TargetLowering::expandCTPOP` choose to expand. So I guess we should add some specific combination code to recognize it?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68189/new/

https://reviews.llvm.org/D68189





More information about the llvm-commits mailing list