[PATCH] D32605: Recognize CTLZ builtin

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 13:42:38 PDT 2017


rengolin added inline comments.


================
Comment at: test/Transforms/LoopIdiom/ARM/ctlz.ll:150
+; Here it will replace the loop -
+; assume builtin is always profitable.
+;
----------------
I'll let Joerg comment on this. It'll depend on the generated code vs. the loop's size, branches, etc.


Repository:
  rL LLVM

https://reviews.llvm.org/D32605





More information about the llvm-commits mailing list