[clang] [llvm] [AMDGPU] Implement variadic functions by IR lowering (PR #93362)
Jon Chesterfield via cfe-commits
cfe-commits at lists.llvm.org
Fri May 31 17:01:20 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();
----------------
JonChesterfield wrote:
Added the test to this PR and also split out #94083. Can land that subpatch first and rebase this for a reduction in complexity.
https://github.com/llvm/llvm-project/pull/93362
More information about the cfe-commits
mailing list