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

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 5 09:46:36 PDT 2026


================
@@ -12,13 +12,51 @@
 
 #include "RISCVCallingConv.h"
 #include "RISCVMachineFunctionInfo.h"
+#include "RISCVStateAttributes.h"
 #include "RISCVSubtarget.h"
 #include "llvm/IR/DataLayout.h"
 #include "llvm/IR/Module.h"
 #include "llvm/MC/MCRegister.h"
 
 using namespace llvm;
 
+static constexpr StringLiteral AllowedRISCVStateCallees[] = {
----------------
topperc wrote:

Do these function calls go through the normal LowerCall path?

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


More information about the cfe-commits mailing list