Skip to content

Commit 6dd3bde

Browse files
bcheng0127sys_zuul
authored and
sys_zuul
committed
Spill/fill improvement
Change-Id: Ibc6189f26eeaaef1a35666a9ca98a0c3ae5c9bf0
1 parent 9006213 commit 6dd3bde

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

visa/BuildIR.h

+1
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,7 @@ class IR_Builder {
828828
builtinR0 = R0CopyDcl;
829829
}
830830

831+
831832
builtinA0 = createDeclareNoLookup(
832833
"BuiltinA0",
833834
G4_ADDRESS,

visa/GraphColor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8822,7 +8822,7 @@ int GlobalRA::coloringRegAlloc()
88228822
coloring.dumpRegisterPressure();
88238823
}
88248824

8825-
unsigned spillRegSize = iterationNo;
8825+
unsigned spillRegSize = 0;
88268826
unsigned indrSpillRegSize = 0;
88278827
bool isColoringGood = coloring.regAlloc(doBankConflictReduction, highInternalConflict, reserveSpillReg, spillRegSize, indrSpillRegSize, &rpe);
88288828
if (isColoringGood == false)

0 commit comments

Comments
 (0)