commit | 1b881f3d8e4c367049aeb376602525559ef09ed5 | [log] [tgz] |
---|---|---|
author | Daniel Schürmann <daniel@schuermann.dev> | Wed Feb 05 18:36:34 2020 +0100 |
committer | Marge Bot <eric+marge@anholt.net> | Wed May 13 18:49:22 2020 +0000 |
tree | 05f34d358c708e573b031983d7a02a02a345da17 | |
parent | 450b1d87ba6bb41056f2ae8c576f98d6a70fa2e4 [diff] |
nir: simplify phi handling in divergence analysis This patch adds some control flow information to the state to keep track whether a loop contains divergent continue or break statements to not having to recalculate this property for every phi. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4062>