[clang] [Clang][RISCV] Record the LMUL in RVV fixed-length data vector kinds (PR #237845)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 08:54:59 PST 2026


================
@@ -4255,7 +4255,13 @@ enum class VectorKind {
   SveFixedLengthPredicate,
 
   /// is RISC-V RVV fixed-length data vector
-  RVVFixedLengthData,
+  RVVFixedLengthData_MF8,
+  RVVFixedLengthData_MF4,
+  RVVFixedLengthData_MF2,
+  RVVFixedLengthData_M1,
+  RVVFixedLengthData_M2,
+  RVVFixedLengthData_M4,
+  RVVFixedLengthData_M8,
 
   /// is RISC-V RVV fixed-length mask vector
   RVVFixedLengthMask,
----------------
topperc wrote:

Do we need to record the LMUL for Mask types?

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


More information about the cfe-commits mailing list