A spilled temporary lives in a slot of the frame instead of a register, and is loaded before each use and stored after each definition. Its spill cost estimates the memory accesses this adds: here, each use or definition counts , with the depth of the loops around it.
sumsq, 6 vertices and 10 edges as in Output 8.3, coloured with four colours. n, s, i and t3 form a clique, so three colours are not enough. The three short-lived temporaries share colour 0.