[clang] [llvm] [RISCV] Update Zvzip support to v0.3 (PR #210603)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 7 00:28:31 PDT 2026


================
@@ -2156,15 +2156,23 @@ let RequiredFeatures = ["zvdot4a8i"] in {
 let UnMaskedPolicyScheme = HasPassthruOperand in {
   let RequiredFeatures = ["zvzip"] in {
     // Signed and floating type
-    defm vzip : RVVOutOp0BuiltinSet<"vzip", "csilxfdy", [["vv", "d", "dvv"]]>;
-    defm vunzipe : RVVOutOp0BuiltinSet<"vunzipe", "csilxfdy", [["v", "v", "vd"]]>;
-    defm vunzipo : RVVOutOp0BuiltinSet<"vunzipo", "csilxfdy", [["v", "v", "vd"]]>;
+    let MaskedPrototypeHasResultMask = true in {
+      defm vzip : RVVOutOp0BuiltinSet<"vzip", "csilxfdy", [["vv", "d", "dvv"]]>;
+    }
----------------
wangpc-pp wrote:

```suggestion
    let MaskedPrototypeHasResultMask = true in
    defm vzip : RVVOutOp0BuiltinSet<"vzip", "csilxfdy", [["vv", "d", "dvv"]]>;
```
No surrounding braces if there is only one def/defm.

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


More information about the cfe-commits mailing list