Skip to content

broadcom/compiler: do not assign payload registers before we read them

Iago Toral requested to merge itoral/mesa:v3d_fix_spill_payload into main

When we read payload registers we do that first in the program so we never cared about RA assigning them to other temps, however, there is an exception: spill setup instructions, when needed, are emitting at the top of the program, before any payload register is read, so for any temps generated for them we want to avoid assigning payload regs or they will stomp them.

Merge request reports