[clang] [llvm] [RISCV] Support version 0.9 of Zvabd (PR #218576)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 21:54:00 PDT 2026


================
@@ -2057,18 +2058,24 @@ let UnMaskedPolicyScheme = HasPassthruOperand in {
 
   // zvabd
   let RequiredFeatures = ["zvabd"] in {
-    defm vabs : RVVOutBuiltinSet<"vabs", "csil", [["v", "Uv", "Uvv"]]>;
-    defm vabd : RVVOutBuiltinSet<"vabd", "cs", [["vv", "Uv", "Uvvv"]]>;
-    defm vabdu : RVVOutBuiltinSet<"vabdu", "cs", [["vv", "Uv", "UvUvUv"]]>;
+    defm vabs_v : RVVPseudoUnaryBuiltin<"vabd", "csil", "Uv", "Uvv">;
----------------
lenary wrote:

Why does the `defm` name not line up with the first argument? Should it?

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


More information about the llvm-commits mailing list