On Tue, Feb 17, 2015 at 3:52 PM, Eric Anholt <e...@anholt.net> wrote: > Matt Turner <matts...@gmail.com> writes: > >> From: Jason Ekstrand <ja...@jlekstrand.net> >> >> This adds a parent_instr field similar to the one for ssa_def. The >> difference here is that the parent_instr field on a nir_register can be >> NULL if the register does not have a unique definition or if that >> definition does not dominate all its uses. We set this field in the >> out-of-SSA pass so that backends can get SSA-like information even after >> they have gone out of SSA. > > This will be useful for me, too, for similar multi-step multiply code.
Wait, I thought you were translating SSA NIR to your IR, no? If so, this isn't too useful. > > Reviewed-by: Eric Anholt <e...@anholt.net> > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev