commit | 794355e77167291a3acc8d42249c760c24f54f38 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Sep 10 13:56:08 2015 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Sep 11 08:55:51 2015 -0700 |
tree | 16fea1f06094dcc55382eb78f21bd2764fa38e88 | |
parent | d4e29af2344c06490913efc35430f93a966061bb [diff] |
nir/lower_outputs_to_temporaries: Reparent the output name We copy the output, make the old output the temporary, and give the temporary a new name. The copy keeps the pointer to the old name. This works just fine up until the point where we lower things to SSA and delete the old variable and, with it, the name. Instead, we should re-parent to the copy. Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>