[clang] [llvm] [RISCV][VLS] Support RISCV VLS calling convention (PR #100346)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 11 13:21:32 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:
----------------
topperc wrote:
Use a macro like you did in other places?
https://github.com/llvm/llvm-project/pull/100346
More information about the cfe-commits
mailing list