[llvm] [SDag][ARM][RISCV] Allow lowering CTPOP into a libcall (PR #101786)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 13:31:16 PDT 2024
s-barannikov wrote:
> Should we expand the ctpop+icmp idiom during CodeGenPrepare?
I was thinking about this too. There is also PreISelIntrinsicLowering, could it be a better place? Note that it appears [earlier](https://github.com/llvm/llvm-project/blob/fa92d51f9e609270bf14c4bc16eb42a98183d27f/llvm/lib/CodeGen/TargetPassConfig.cpp#L1059) in the pipeline.
https://github.com/llvm/llvm-project/pull/101786
More information about the llvm-commits
mailing list