Skip to content

Commit 03ba8da

Browse files
pratikasharigcbot
authored andcommitted
Revert "Fix sub-reg offset when using LSC"
Revert "Fix sub-reg offset when using LSC"
1 parent 9833e07 commit 03ba8da

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
@@ -9142,7 +9142,7 @@ bool Optimizer::foldPseudoAndOr(G4_BB* bb, INST_LIST_ITER& ii)
91429142
// payload in memory. when implicit arg buffer
91439143
// pointer is present, we need to shift load address
91449144
// of per thread payload as well.
9145-
emitRelocAddInst(addrSubreg);
9145+
emitRelocAddInst(2);
91469146
}
91479147

91489148
// (W) mad (1) r127.2 r127.2 r127.0 per_thread_size

0 commit comments

Comments
 (0)