We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21c1fc commit 51caaffCopy full SHA for 51caaff
visa/Gen4_IR.cpp
@@ -7669,7 +7669,8 @@ bool G4_INST::canSrcBeAcc(int srcId) const
7669
return false;
7670
}
7671
7672
- if (opcode() == G4_mad && srcId == 0)
+ if (opcode() == G4_mad && srcId == 0 &&
7673
+ !builder.canMadHaveSrc0Acc())
7674
{
7675
// mac's implicit acc gets its region from dst, so we have to check src and
7676
// dst have the same type
0 commit comments