[PATCH] D69127: [DAGCombiner] widen zext of popcount based on target support

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 16:32:48 PDT 2019


craig.topper added a comment.

So the assumption here is that the popcnt we choose here is the same performance as any smaller popcnt that LegalizeDAG would pick through promotion. Or near enough that its better than having 2 zexts?


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

https://reviews.llvm.org/D69127





More information about the llvm-commits mailing list