[llvm] Optimize count leading ones if promoted type (PR #99591)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 13:19:09 PDT 2024


topperc wrote:

Have you investigated doing this as a DAGCombine after legalization? Its very unusual to change type legalization behavior based on surrounding instructions.

https://github.com/llvm/llvm-project/pull/99591


More information about the llvm-commits mailing list