nir: Modernize the out-of-SSA pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 21 Apr 2015 18:16:04 +0000 (11:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 9 May 2015 00:16:13 +0000 (17:16 -0700)
commit6702ebce5760aae0eb15f410c2a83b6e893b005c
tree28daa34b8e243942e329cb6c76ec607072dc90e2
parent7ee0216e2d576a02de9d938488a6d6ba55ccb115
nir: Modernize the out-of-SSA pass

The out-of-SSA pass was one of the first passes written when getting SSA
up-and-going (for obvious reasons).  As such, it came before a lot of the
nifty SSA-based helpers were introduced.  This commit modernizes it so that
we're no longer doing nearly as much manual banging on use/def sets.

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