Skip to content

Commit 40d3812

Browse files
bcheng0127igcbot
authored andcommitted
Revert "[IGC BugFix][vISA]: Fix the a0 regiter variable linear Start and linear end bound after register allocation (#62677)"
Revert "[IGC BugFix][vISA]: Fix the a0 regiter variable linear Start and linear end bound after register allocation (#62677)"
1 parent e53dfa0 commit 40d3812

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

visa/PhyRegCompute.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void G4_SrcRegRegion::computePReg(const IR_Builder& builder)
3737

3838
dcl->setGRFBaseOffset(linearizedStart);
3939
}
40-
40+
#if 0
4141
if (baseVar->getPhyReg()->isA0())
4242
{
4343
G4_Declare* dcl = baseVar->getDeclare();
@@ -48,7 +48,7 @@ void G4_SrcRegRegion::computePReg(const IR_Builder& builder)
4848

4949
dcl->setGRFBaseOffset(linearizedStart);
5050
}
51-
51+
#endif
5252
}
5353
}
5454

@@ -79,6 +79,7 @@ void G4_DstRegRegion::computePReg(const IR_Builder& builder)
7979
dcl->setGRFBaseOffset(linearizedStart);
8080
}
8181

82+
#if 0
8283
if (baseVar->getPhyReg()->isA0())
8384
{
8485
G4_Declare* dcl = baseVar->getDeclare();
@@ -89,5 +90,6 @@ void G4_DstRegRegion::computePReg(const IR_Builder& builder)
8990

9091
dcl->setGRFBaseOffset(linearizedStart);
9192
}
93+
#endif
9294
}
9395
}

0 commit comments

Comments
 (0)