Skip to content

Commit ec41408

Browse files
jgu222igcbot
authored andcommitted
[Autobackout][FuncReg]Revert of change: 82d9f2c
Enforce HW conformity for BF mixed mode Allow bf to be operands of some of insts in visa input. And let visa HWConformity to enforce conformance to HW restriction.
1 parent b3e395a commit ec41408

File tree

5 files changed

+125
-446
lines changed

5 files changed

+125
-446
lines changed

visa/G4_Verifier.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,8 @@ bool G4Verifier::verifyInst(G4_INST *inst)
104104
return verifyDefUseChain(inst);
105105
}
106106

107-
if (passIndex == Optimizer::PI_HWConformityChk
108-
|| passIndex == Optimizer::PI_addSWSBInfo)
109-
{
110-
// feature verification. Do it twice for now.
111-
verifyBFMixedMode(inst);
112-
}
107+
// feature verification
108+
verifyBFMixedMode(inst);
113109
}
114110
return true;
115111
}
@@ -1261,8 +1257,8 @@ void G4Verifier::verifyBFMixedMode(G4_INST* inst)
12611257
return false;
12621258
};
12631259

1264-
// Skip dpas/send as it has been verified separately
1265-
if (inst->isDpas() || inst->isSend())
1260+
// Skip dpas as it has been verified separately
1261+
if (inst->isDpas())
12661262
return;
12671263

12681264
// Skip if no BF usage

0 commit comments

Comments
 (0)