[clang] [clang] Introduce elementwise ctlz/cttz builtins (PR #131995)

Fraser Cormack via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 20 02:12:01 PDT 2025


frasercrmck wrote:

I believe RISC-V's `vctz.v` instruction may return `0` for a zero value input - at least going by the pseudocode specification?  See https://github.com/riscv/riscv-crypto/blob/main/doc/vector/insns/vctz.adoc

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


More information about the cfe-commits mailing list