G_CTPOP is generated from llvm.ctpop.<type> intrinsics, clang generates
these intrinsics from builtin_popcount and builtin_popcountll.
Add lower and narrow scalar for G_CTPOP.
Lower G_CTPOP for MIPS32.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Assumes NarrowTy == OrigTy / 2. This one should be easy to handle for any divisible type.