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 26db67b commit c7ba5a8Copy full SHA for c7ba5a8
visa/FlowGraph.cpp
@@ -634,7 +634,8 @@ void FlowGraph::constructFlowGraph(INST_LIST &instlist) {
634
setCurrentDebugPass("CFG");
635
VISA_DEBUG(std::cout << "Entering CFG construction\n");
636
637
- if (builder->hasScratchSurface() && (isStackCallFunc || hasStackCalls)) {
+ bool scratchUse = false;
638
+ if (builder->hasScratchSurface() && (isStackCallFunc || hasStackCalls || scratchUse)) {
639
// unfortunately we can't put this in stack call prolog since this has to be
640
// done before RA ToDo: just hard-wire the scratch-surface offset register?
641
builder->initScratchSurfaceOffset();
0 commit comments