[PATCH] D15718: Recognize patterns for ctpop and ctlz in instcombine

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 08:03:12 PST 2016


kparzysz added a comment.

Yes, and I asked if it's still ok for these two parts to go together.  I can split it if there is a strong preference for that.

I haven't thought about the vector versions and I haven't seen any code that does this for vectors, so I'm not sure what patterns to look for.  I don't know if the pattern for scalars would also apply to vectors.

I can add cttz.


Repository:
  rL LLVM

http://reviews.llvm.org/D15718





More information about the llvm-commits mailing list