================
@@ -750,8 +750,18 @@ void JSONNodeDumper::VisitVectorType(const VectorType *VT) 
{
   case VectorKind::SveFixedLengthPredicate:
     JOS.attribute("vectorKind", "fixed-length sve predicate vector");
     break;
-  case VectorKind::RVVFixedLengthData:
-    JOS.attribute("vectorKind", "fixed-length rvv data vector");
+  case VectorKind::RVVFixedLengthData_MF8:
+  case VectorKind::RVVFixedLengthData_MF4:
+  case VectorKind::RVVFixedLengthData_MF2:
+  case VectorKind::RVVFixedLengthData_M1:
+  case VectorKind::RVVFixedLengthData_M2:
+  case VectorKind::RVVFixedLengthData_M4:
+  case VectorKind::RVVFixedLengthData_M8:
+    JOS.attribute("vectorKind",
+                  "fixed-length rvv data vector lmul " +
+                      getRVVFixedLengthDataLMulString(VT->getVectorKind(),
+                                                      /*MF=*/false)
----------------
topperc wrote:

Can we print mf8, mf4, etc. instead of 1/8, 1/4 etc. to remove the MF parameter?

https://github.com/llvm/llvm-project/pull/237845
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to