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

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 9 05:35:06 PDT 2018


kparzysz added a comment.

In https://reviews.llvm.org/D45173#1060626, @lebedev.ri wrote:

> To add to that, i think you should be able to get rid of at least some of the pain of detection
>  of when instcombine got smarter and these folds no longer match, by adding kind-of end-to-end optimization tests.


Detection is not a problem.


Repository:
  rL LLVM

https://reviews.llvm.org/D45173





More information about the llvm-commits mailing list