Skip to content

aco: calculate correct register demand for branch instructions

The previous code wasn't correct if the block had phis with exec or constant operands (causing the register demand after the block's phis to not match the size of the predecessors's live-out).

Fixes a Detroit: Become Human spilling failure with GCM+GVN.

Edited by Rhys Perry

Merge request reports