Skip to content

aco: Fix how p_elect interacts with optimizations.

Timur Kristóf requested to merge Venemo/mesa:aco-fix-elect into main

Since p_elect doesn't have any operands, ACO's value numbering and/or the pre-RA optimizer can currently recognize two p_elect instructions in two different blocks as the same.

This patch adds exec as an operand to p_elect in order to achieve correct behavior.

Merge request reports

Loading