================ @@ -243,6 +254,30 @@ define void @ctpop_i64() { } +define i64 @popcnt(i64 %a, ptr %p) { ---------------- c-rhodes wrote: this seems equivalent to `@ctpop_i64` above, is that not sufficient? https://github.com/llvm/llvm-project/pull/121934