Skip to content

Commit 96e1984

Browse files
pratikasharigcbot
authored andcommitted
Minor fix
1 parent 6fd952b commit 96e1984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visa/Gen4_IR.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3661,7 +3661,7 @@ void G4_INST::emit_inst(std::ostream& output, bool symbol_dst, bool *symbol_srcs
36613661
}
36623662
if (isSpillIntrinsic())
36633663
{
3664-
output << "Scratch[" << asSpillIntrinsic()->getOffset() << "x32] ";
3664+
output << "Scratch[" << asSpillIntrinsic()->getOffset() << "x" << numEltPerGRF<Type_UB>() << "] ";
36653665
}
36663666
else if (dst)
36673667
{
@@ -3687,7 +3687,7 @@ void G4_INST::emit_inst(std::ostream& output, bool symbol_dst, bool *symbol_srcs
36873687
}
36883688
if (isFillIntrinsic())
36893689
{
3690-
output << "Scratch[" << asFillIntrinsic()->getOffset() << "x32] ";
3690+
output << "Scratch[" << asFillIntrinsic()->getOffset() << "x" << numEltPerGRF<Type_UB>() << "] ";
36913691
}
36923692

36933693
if (isFlowControl() && asCFInst()->getJip())

0 commit comments

Comments
 (0)