[clang] [llvm] [AMDGPU] Match bitsin(typeof(x)) - popcnt(x) to s_bcnt0_i32 (PR #164847)

Jay Foad via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 15 06:34:31 PDT 2026


jayfoad wrote:

> [AMDGPU] Match bitsin(typeof(x)) - popcnt(x) to s_bcnt0_i32

Call it `ctpop` in the title to match the code.

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


More information about the cfe-commits mailing list