[clang] [llvm] [RISCV][clang] Support XSfmm ABI attributes (PR #206260)

Brandon Wu via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 30 22:57:51 PDT 2026


================
@@ -4617,6 +4536,106 @@ void Sema::checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto,
         Diag(Loc, diag::note_sme_use_preserves_za);
       }
     }
+
+    // Check if there's any conflicting call for every state, it should not be
+    // any conflict if caller and callee are in different state.
+
+    if (CallerFD &&
----------------
4vtomat wrote:

I think maybe it's possible to extract these as standalone function in `SemaRISCV.cpp`.

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


More information about the llvm-commits mailing list