[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:58 PST 2026


================
@@ -8870,7 +8871,7 @@ static void HandleRISCVRVVVectorBitsTypeAttr(QualType &CurType,
       S.Context.getBuiltinVectorTypeInfo(CurType->castAs<BuiltinType>());
   unsigned MinElts = Info.EC.getKnownMinValue();
 
-  VectorKind VecKind = VectorKind::RVVFixedLengthData;
+  VectorKind VecKind = VectorKind::RVVFixedLengthMask;
----------------
topperc wrote:

Is this initialization necessary?

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


More information about the cfe-commits mailing list