We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a697788 commit f456bacCopy full SHA for f456bac
IGC/Compiler/PromoteStatelessToBindless.cpp
@@ -45,6 +45,11 @@ bool PromoteStatelessToBindless::runOnFunction(Function& F)
45
CodeGenContext* ctx = getAnalysis<CodeGenContextWrapper>().getCodeGenContext();
46
auto ClContext = static_cast<OpenCLProgramContext*>(ctx);
47
48
+ bool HasStackCall = F.hasFnAttribute("visaStackCall");
49
+ // Skip functions marked with stackcall.
50
+ if (HasStackCall)
51
+ return false;
52
+
53
m_AccessToSrcPtrMap.clear();
54
m_AddressUsedSrcPtrMap.clear();
55
if (!ClContext->m_InternalOptions.UseBindlessPrintf)
0 commit comments