[PATCH] D32605: Recognize CTLZ builtin

Evgeny Stupachenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 12:01:41 PDT 2017


evstupac added a comment.

In https://reviews.llvm.org/D32605#739873, @joerg wrote:

> What about platforms that don't have ctlz/ffs hardware support?


I can guard this. Or keep as is if we consider converting loop to countable is generally good. In this case builtin should be expanded at codegen in the most profitable way.


Repository:
  rL LLVM

https://reviews.llvm.org/D32605





More information about the llvm-commits mailing list