Skip to content

Commit 48a7398

Browse files
weiyu-chensys_zuul
authored andcommitted
Do not hard-code native exeuction size in legalization check.
Change-Id: Ibc934edd7b4962b971da6006fc7a05ca92840c79
1 parent 20f48f2 commit 48a7398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/HWConformity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5718,7 +5718,7 @@ void HWConformity::fixSendInst(G4_BB* bb)
57185718
continue;
57195719
}
57205720

5721-
if (inst->getExecSize() < 8)
5721+
if (inst->getExecSize() < builder.getNativeExecSize())
57225722
{
57235723
// A64 messages require a minimum msg len of two for address (src0), which is inconsistent
57245724
// with our input IR as it allows <2 GRF address variables (e.g., simd1 A64 scatter r/w).

0 commit comments

Comments
 (0)