Skip to content

Commit 4426658

Browse files
skarczewigcbot
authored andcommitted
Remove setting EOT for fences.
Fences are not output messages, so they should not be EOT.
1 parent 7cbf3a1 commit 4426658

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

visa/G4_IR.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,8 @@ class G4_InstSend : public G4_INST {
13131313
bool canBeEOT() const {
13141314
bool canEOT = getMsgDesc()->getDstLenRegs() == 0 &&
13151315
(getMsgDesc()->getSFID() != SFID::NULL_SFID &&
1316-
getMsgDesc()->getSFID() != SFID::SAMPLER);
1316+
getMsgDesc()->getSFID() != SFID::SAMPLER &&
1317+
!getMsgDesc()->isFence());
13171318

13181319
return canEOT;
13191320
}

0 commit comments

Comments
 (0)