Skip to content

Commit 78f1922

Browse files
bcheng0127igcbot
authored andcommitted
Move the S0 indirect send generation before post-RA
To improve the performance with scheduling
1 parent 0609d37 commit 78f1922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/Optimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ int Optimizer::optimization() {
992992
runPass(PI_reassignBlockIDs);
993993

994994
runPass(PI_FoldAddrImmediate);
995+
runPass(PI_s0SubAfterRA);
995996

996997
// FIXME houjenko: Disable local scheduling due to issues when
997998
// using extra regiser that may corrupt unknown liveout
@@ -1010,7 +1011,6 @@ int Optimizer::optimization() {
10101011
runPass(PI_legalizeType);
10111012

10121013
runPass(PI_changeMoveType);
1013-
runPass(PI_s0SubAfterRA);
10141014

10151015
// No pass after this should expect def-use to be preserved as this pass
10161016
// removes raw movs with identical src/dst physical GRFs.

0 commit comments

Comments
 (0)