nir: Rewrite lower_regs_to_ssa to use the phi builder
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 14 Dec 2016 05:00:34 +0000 (21:00 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 30 Dec 2016 00:02:44 +0000 (16:02 -0800)
commita4d1eb443ecd2c34ce67f07a6a7078bf8a4f359c
tree5acab9146cc7864fee28279db50d7cca739aff5a
parent67a70889f61a374bc535286d12117780e9fbc0c3
nir: Rewrite lower_regs_to_ssa to use the phi builder

This keeps some of Connor's original code.  However, while I was at it,
I updated this very old pass to a bit more modern NIR.
src/compiler/nir/nir_lower_regs_to_ssa.c