[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:48:26 PDT 2026
================
@@ -5513,6 +5575,14 @@ class FunctionProtoType final
else
AArch64SMEAttributes &= ~Kind;
}
+
+ bool requiresFunctionProtoTypeRISCVAttributes() const {
+ return RISCVAttributes != RISCVNormalFunction;
+ }
+
+ void setRISCVAttribute(RISCVTypeAttributes Kind) {
+ RISCVAttributes |= Kind;
+ }
----------------
4vtomat wrote:
I see, that makes sense, thanks!
https://github.com/llvm/llvm-project/pull/206260
More information about the llvm-commits
mailing list