[clang] [clang][HIP] Normalize __cdecl on abstract function types to the device default CC on amdgcnspirv (PR #210882)
Arseniy Obolenskiy via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 9 21:28:30 PDT 2026
================
@@ -1787,6 +1787,15 @@ class TargetInfo : public TransferrableTargetInfo,
}
}
+ /// Determines whether a call using the given calling convention may be
+ /// variadic on this target. Unlike the target-agnostic
+ /// supportsVariadicCall(), this allows a target to reject its own default
+ /// calling convention (e.g. when that default is only nominally CC_C but
+ /// lowers to an ABI that cannot support variadic calls).
+ virtual bool supportsCallingConvVariadic(CallingConv CC) const {
----------------
aobolensk wrote:
`supportsVariadicCall` looks good, renamed
https://github.com/llvm/llvm-project/pull/210882
More information about the cfe-commits
mailing list