[llvm] [CodeGen] Add widening support for ISD::CTTZ_ELTS (PR #205841)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 09:56:51 PDT 2026


================

----------------
david-arm wrote:

Would you mind adding a similar predicate vector test for either RISCV or SVE? See i64_ctz_nxv16i1 (can modify to be nxv15i1 or something like that) in llvm/test/CodeGen/RISCV/rvv/cttz-elts.ll or ctz_nxv2i1 (modify to nxv3i1?) in test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll for examples. Widening should also work in these cases I think.

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


More information about the llvm-commits mailing list