nir: update fixup_phi_srcs() to handle registers
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 14 Dec 2016 05:14:20 +0000 (16:14 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 22 Dec 2016 23:15:36 +0000 (10:15 +1100)
commitb84dfa0f628717f62b58db94c88123325ef542cd
treecc9ce9a2d209d8b70fdbeb2f6ae6f051e04f1dc3
parentd7813209748865d934528389c4aadc194bda8827
nir: update fixup_phi_srcs() to handle registers

We need to do this because we partially get out of SSA when unrolling
and cloning loops.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_clone.c