[clang] [HLSL][SPIRV] Fix calling convention for call in entry function. (PR #110275)
Steven Perron via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 30 07:00:48 PDT 2024
================
@@ -415,6 +415,7 @@ void CGHLSLRuntime::emitEntryFunction(const FunctionDecl *FD,
}
CallInst *CI = B.CreateCall(FunctionCallee(Fn), Args);
+ CI->setCallingConv(Fn->getCallingConv());
(void)CI;
----------------
s-perron wrote:
Done.
https://github.com/llvm/llvm-project/pull/110275
More information about the cfe-commits
mailing list