Skip to content

nir/lower_phis_to_scalar: Handle undef and const better.

This addresses the situation when we have a vector phi and there are some components which are undef or const in both sides of the phi.

In this case, we can safely emit an undef or const for those components after the phis, resulting in slightly better code generation in ACO.

Merge request reports