[llvm-branch-commits] [llvm] [SPARC] Use lzcnt to implement CTLZ when we have VIS3 (PR #135715)
Sergei Barannikov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 16 18:43:19 PDT 2025
https://github.com/s-barannikov approved this pull request.
Looks great, I left some final comments (few of them are actionable).
There is also a couple of methods in TargetLoweringBase that should be implemented:
`isCheapToSpeculateCtlz()`, `isCtlzFast()`. I think they could improve codegen a bit.
Not required in this PR though.
https://github.com/llvm/llvm-project/pull/135715
More information about the llvm-branch-commits
mailing list