Skip to content

aco: lower scalar phis after instruction selection

This series replaces a quite complicated instruction selection for phis by a what is essentially an SSA-repair algorithm, already used by the existing boolean phi lowering. Whenever we have a phi with SGPR definition after divergent control flow, we now use this algorithm to ensure that the phi sources are correctly propagated through the linear CFG.

Merge request reports