[clang] [llvm] [AMDGPU] Implement variadic functions by IR lowering (PR #93362)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 04:09:58 PDT 2024


================
@@ -103,19 +104,27 @@ void AMDGPUABIInfo::computeInfo(CGFunctionInfo &FI) const {
   if (!getCXXABI().classifyReturnType(FI))
     FI.getReturnInfo() = classifyReturnType(FI.getReturnType());
 
+  unsigned ArgumentIndex = 0;
+  const unsigned numFixedArguments = FI.getNumRequiredArgs();
----------------
arsenm wrote:

Can you split the clang AMDGPU ABI changes into a separate PR? The tests for this are also missing 

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


More information about the llvm-commits mailing list