[PATCH] D45173: [InstCombine] Recognize idioms for ctpop and ctlz

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 05:56:45 PDT 2018


kparzysz added a comment.

I think it came from a customer application.  I tried to put it in instcombine a long time back, but it was rejected on the grounds that it was too time-consuming.  It's been sitting around in my local repo until I thought about committing it again, this time in the aggressive instcombine which didn't exist back then.  Since I already have it, I didn't want to delete it.

Recognizing more patterns is doable, but it can take some time.


Repository:
  rL LLVM

https://reviews.llvm.org/D45173





More information about the llvm-commits mailing list