Reviewed-by: Jason Ekstrand
On Tue, Mar 22, 2016 at 12:35 PM, Rob Clark wrote:
> From: Rob Clark
>
> In many places, the convention is to pass an existing ssadef name ptr
> when construction/initializing a new nir_ssa_def. But that goes badly
> (as noticed by garbage in nir_print output) when
From: Rob Clark
In many places, the convention is to pass an existing ssadef name ptr
when construction/initializing a new nir_ssa_def. But that goes badly
(as noticed by garbage in nir_print output) when the original string
gets freed.
Just use ralloc_strdup() instead, and add ralloc_free() in