[clang] [llvm] [RISCV][MC] Add support of Zvzip extension (PR #185614)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 11:59:03 PDT 2026


================
@@ -883,6 +883,14 @@ def HasStdExtZvdot4a8i : Predicate<"Subtarget->hasStdExtZvdot4a8i()">,
                          AssemblerPredicate<(all_of FeatureStdExtZvdot4a8i),
                          "'Zvdot4a8i' (Vector 4-element Dot Product of packed 8-bit Integers)">;
 
+// Vector Reordering Structured Data
+def FeatureStdExtZvzip
+    : RISCVExperimentalExtension<0, 1, "Vector Reordering Structured Data",
+                                 [FeatureStdExtZve32x]>;
+def HasStdExtZvzip : Predicate<"Subtarget->hasStdExtZvzip()">,
+                     AssemblerPredicate<(all_of FeatureStdExtZvzip),
+                     "'Zvzip' (Vector Reordering Structured Data)">;
----------------
topperc wrote:

This line should be indented at least 4 more spaces. It is an argument to AssemblerPredicate so should not have the same indentation level as AssemblerPredicate.

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


More information about the cfe-commits mailing list