[PATCH] D89346: [SelectionDAG][X86] Enable SimplifySetCC CTPOP transforms for vector splats

Benjamin Kramer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 03:55:18 PDT 2020


bkramer added a comment.
Herald added a subscriber: ecnelises.

I have no memory of adding that transformation 9 years ago. `dec` + `test` should be better than `popcnt` + `cmp` even on modern x86, but with no data to back that up it might not matter at all.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89346



More information about the llvm-commits mailing list