Skip to content

Commit edc7e6d

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: 1084303: Remove WAR dependence for flag register
Remove WAR dependence for flag register
1 parent 1a1f79d commit edc7e6d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

visa/HWCaps.inc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -926,10 +926,6 @@ bool needA0WAR() const {
926926
return (getPlatform() >= Xe2);
927927
}
928928

929-
bool needFlagWAR() const {
930-
return (getPlatform() < Xe3);
931-
}
932-
933929
bool alwaysAllowGlobalFlagOpt() const {
934930
// We shouldn't add this kind of ugly platform check. However, there's
935931
// a complicated bug found in TGLLP when disabling a flagopt case. There

visa/LocalScheduler/SWSB_G4IR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5898,7 +5898,7 @@ bool G4_BB_SB::getFootprintForOperand(SBNode *node, G4_INST *inst,
58985898
footprint = getFootprintForACC(opnd, opndNum, inst);
58995899
node->setFootprint(footprint, opndNum);
59005900
}
5901-
if (builder.needFlagWAR() && isFlagReg) {
5901+
if (isFlagReg) {
59025902
footprint = getFootprintForFlag(opnd, opndNum, inst);
59035903
node->setFootprint(footprint, opndNum);
59045904
}

0 commit comments

Comments
 (0)