================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to