[PATCH] D32605: Recognize CTLZ builtin

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 12:19:17 PDT 2017


hfinkel added a comment.

We could add a TTI callback like we have for popcnt. You could also argue that this is the better canonical form because it can enable other analysis/optimizations (and we should fix the expansion if it is suboptimal).


Repository:
  rL LLVM

https://reviews.llvm.org/D32605





More information about the llvm-commits mailing list