nir: add rewrite_phi_predecessor_blocks() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 20 Nov 2018 23:04:24 +0000 (10:04 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 3 Jan 2019 04:17:16 +0000 (15:17 +1100)
commit19cafe8084e691647994f97ccfd31cec71ce3274
treea4312e11ccbeb1147cbf61b20354d02f42eaffc0
parent5122fbc4bad8e139463f5a36432673b29ddf52c5
nir: add rewrite_phi_predecessor_blocks() helper

This will also be used by the if merge pass in the following commit.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir_opt_if.c