nir: Move phi src setup to a helper.
Cleans up the ralloc/list push code all over the tree.
Pulled from my branch experimenting with malloc instead of ralloc for NIR instrs.
Cleans up the ralloc/list push code all over the tree.
Pulled from my branch experimenting with malloc instead of ralloc for NIR instrs.