topperc wrote: This kind of seems like a frontend bug. Why did clang pass it as a fixed vecor? Removing `__attribute__((riscv_rvv_vector_bits(__riscv_v_fixed_vlen * lmul)))` works as expected. https://github.com/llvm/llvm-project/pull/117100