[clang] [llvm] [clang] Integrate LLVMABI for function call ABI lowering (PR #194460)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri May 1 14:06:43 PDT 2026


================
@@ -876,6 +915,27 @@ const CGFunctionInfo &CodeGenTypes::arrangeLLVMFunctionInfo(
     computeSPIRKernelABIInfo(CGM, *FI);
   } else if (info.getCC() == CC_Swift || info.getCC() == CC_SwiftAsync) {
     swiftcall::computeABIInfo(CGM, *FI);
+  } else if (CGM.shouldUseLLVMABILowering()) {
----------------
andykaylor wrote:

Maybe move the code below into a function like `CodeGenModule::computeABIInfoUsingLib`?

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


More information about the cfe-commits mailing list