[clang] [llvm] [RISCV][VLS] Support RISCV VLS calling convention (PR #100346)

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 18 08:04:52 PST 2025


================
@@ -111,9 +115,51 @@ void RISCVABIInfo::appendAttributeMangling(StringRef AttrStr,
 }
 
 void RISCVABIInfo::computeInfo(CGFunctionInfo &FI) const {
+  unsigned ABIVLen;
+  switch (FI.getExtInfo().getCC()) {
+  default:
+    ABIVLen = 0;
+    break;
+  case CallingConv::CC_RISCVVLSCall_32:
----------------
4vtomat wrote:

Yeah, sure! somehow I missed this lol

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


More information about the cfe-commits mailing list