Skip to content

Commit 1c716ab

Browse files
bcheng0127sys_zuul
authored andcommitted
Disalbe local RA for stack call.
Change-Id: If7c834b36d3366372d3c5abe72ec510f46de14ed
1 parent b8291ec commit 1c716ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

visa/GraphColor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8885,8 +8885,7 @@ int GlobalRA::coloringRegAlloc()
88858885
addStoreRestoreForFP();
88868886
}
88878887
}
8888-
8889-
if (builder.getOption(vISA_LocalRA) && !isReRAPass() && canDoLRA(kernel))
8888+
if (builder.getOption(vISA_LocalRA) && !isReRAPass() && canDoLRA(kernel) && !hasStackCall)
88908889
{
88918890
startTimer(TIMER_LOCAL_RA);
88928891
copyMissingAlignment();

0 commit comments

Comments
 (0)