commit | 450b1d87ba6bb41056f2ae8c576f98d6a70fa2e4 | [log] [tgz] |
---|---|---|
author | Daniel Schürmann <daniel@schuermann.dev> | Wed Feb 05 13:08:27 2020 +0100 |
committer | Marge Bot <eric+marge@anholt.net> | Wed May 13 18:49:22 2020 +0000 |
tree | e96be2f6eb404a50e607f32f73d706ebca004ae4 | |
parent | febef2245965efb50e283b16d2a927fcaebd8ffc [diff] |
nir: rework phi handling in divergence analysis This patch splits the visit_phi() function into three different ones according to the kind of phi (merge-node, loop-header or loop-exit) and calls them when visiting the cf_nodes. This allows to revisit loops if the loop header's phis have changed, only. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4062>