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 9fe158e commit abc9da6Copy full SHA for abc9da6
IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp
@@ -495,9 +495,8 @@ namespace IGC
495
mpm.add(createLoopSimplifyPass());
496
}
497
498
- if (ctx.m_enableSubroutine ||
499
- ctx.m_enableFunctionPointer ||
500
- IGC_GET_FLAG_VALUE(FunctionControl) == FLAG_FCALL_FORCE_STACKCALL)
+ if (ctx.enableFunctionCall()
+ )
501
{
502
// Sort functions if subroutine/indirect fcall is enabled.
503
mpm.add(llvm::createGlobalDCEPass());
0 commit comments