File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1546,7 +1546,8 @@ void LinearScanRA::calculateCurrentBBLiveIntervals(
1546
1546
liveIntervals.push_back (stackCallRetLR);
1547
1547
stackCallRetLR->setPushed (true );
1548
1548
}
1549
- if (stackCallArgLR && arg && argSize > 0 && arg->getRegVar ()) {
1549
+ if (arg && argSize > 0 && arg->getRegVar ()) {
1550
+ vASSERT (stackCallArgLR);
1550
1551
stackCallArgLR->setLastRef (
1551
1552
curInst, curInst->getLexicalId () * 2 -
1552
1553
1 ); // Minus one so that arguments will not be spilled
Original file line number Diff line number Diff line change @@ -2021,15 +2021,6 @@ void PhyRegsLocalRA::markPhyRegs(G4_Declare *topdcl) {
2021
2021
for (unsigned int i = 0 ; i < numwords; i++) {
2022
2022
// Starting from first word, mark each consecutive word busy
2023
2023
setWordBusy (regnum, (subRegInWord + i));
2024
-
2025
- // In case across one GRF
2026
- if (subRegInWord + i >= builder.numEltPerGRF <Type_UW>()) {
2027
- regnum++;
2028
- if (!isGRFAvailable (regnum)) {
2029
- break ;
2030
- }
2031
- i = 0 ;
2032
- }
2033
2024
}
2034
2025
}
2035
2026
} else {
You can’t perform that action at this time.
0 commit comments