[clang] [llvm] [CodeGen][i386] Move -mregparm storage earlier and fix Runtime calls (PR #89707)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 26 16:06:05 PDT 2024
================
@@ -4781,6 +4782,7 @@ CodeGenModule::CreateRuntimeFunction(llvm::FunctionType *FTy, StringRef Name,
}
}
setDSOLocal(F);
+ markRegisterParameterAttributes(F);
----------------
efriedma-quic wrote:
Suggested text on the clang change:
FIXME: We should use CodeGenModule::SetLLVMFunctionAttributes() instead of trying to approximate the attributes using the LLVM function signature. This requires revising the API of CreateRuntimeFunction().
https://github.com/llvm/llvm-project/pull/89707
More information about the cfe-commits
mailing list