[PATCH] D47917: [ARM] Lower llvm.ctlz.i32 to a libcall when clz is not available.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 12 14:54:35 PDT 2018


efriedma added a comment.

__clzsi2 is provided by libgcc/compiler-rt, so it should be generally available. I guess it might be possible to construct an environment where it isn't, but I'm not sure how.


Repository:
  rL LLVM

https://reviews.llvm.org/D47917





More information about the llvm-commits mailing list