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

Reply via email to