nir: Add a better out-of-SSA pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 31 Oct 2014 18:17:09 +0000 (11:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:19:00 +0000 (07:19 -0800)
commit943ddb945877fc8a48dd7a435d40e1a9e7b9eead
treed7c3b95f93108c796c49237cb733ca766561ebb3
parent4f44120ff51fba27258376941ee965078aa8494e
nir: Add a better out-of-SSA pass

This commit rewrites the out-of-SSA pass to not be nearly as naieve.  It's
based on "Revisiting Out-of-SSA Translation for Correctness, Code Quality,
and Efficiency" by Boissinot et. al.  It should be fairly close to
state-of-the art.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_from_ssa.c