[llvm-branch-commits] [clang] [Clang][RISCV] Allow riscv_rvv_vector_bits typedefs shorter than VLEN*LMUL (PR #237846)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 2 09:54:50 PST 2026


================
@@ -1327,6 +1327,12 @@ documentation](CIR/index.md) for more information regarding ClangIR's status and
   `-mcpu` is present, the ISA will be selected from the host CPU and the tune
   CPU will be selected from `-mcpu`.
 
+- `riscv_rvv_vector_bits(N)` now accepts any `N` up to `VLEN*LMUL` bits for
+  data types. For them it no longer requires `-mrvv-vector-bits`; without it,
----------------
topperc wrote:

```suggestion
  data types. For them, it no longer requires `-mrvv-vector-bits`; without it,
```

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


More information about the llvm-branch-commits mailing list