[clang] [clang][CodeGen][X86_64] Honor per-function AVX ABI in C/C++ call paths, maintain old psABI for PlayStation. (PR #193298)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 15 18:02:18 PDT 2026
================
@@ -81,13 +81,13 @@ const CGFunctionInfo &
arrangeCXXMethodCall(CodeGenModule &CGM, CanQualType returnType,
ArrayRef<CanQualType> argTypes, FunctionType::ExtInfo info,
ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos,
- RequiredArgs args);
+ RequiredArgs args, const FunctionDecl *CallerFD = nullptr);
const CGFunctionInfo &arrangeFreeFunctionCall(
CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes,
FunctionType::ExtInfo info,
- ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos,
- RequiredArgs args);
+ ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos, RequiredArgs args,
+ const FunctionDecl *CallerFD = nullptr);
----------------
efriedma-quic wrote:
Default arguments seem dangerous: if we don't pass the FD, we use the wrong ABI.
https://github.com/llvm/llvm-project/pull/193298
More information about the cfe-commits
mailing list