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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits