nir/opt_if: Re-materialize derefs in use blocks before peeling loops
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 11 Sep 2018 17:55:45 +0000 (12:55 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 19 Sep 2018 07:00:49 +0000 (02:00 -0500)
commit864c780566b8782c4fc69b4337db768223717bd8
tree6a03e43a35eeaccdebe50863a04e08aa2b60f205
parent0796c3934ebfe3448acf2d63f478f51c08e33046
nir/opt_if: Re-materialize derefs in use blocks before peeling loops

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107879
Cc: "18.2" <mesa-stable@lists.freedesktop.org>
src/compiler/nir/nir_opt_if.c