[clang] [llvm] [RISCV][VLS] Support RISCV VLS calling convention (PR #100346)
Brandon Wu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 03:15:46 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 = 1;
----------------
4vtomat wrote:
I see, originally 1 is used for differentiate between command line option and attribute, but since we no longer have command line option, we can use 0 instead lol~
https://github.com/llvm/llvm-project/pull/100346
More information about the llvm-commits
mailing list