summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_metadata.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-11-03 17:15:24 -0800
committerKenneth Graunke <[email protected]>2015-11-05 00:09:40 -0800
commit5c6f21579d7db802f4db96bae8b166e7409afabe (patch)
treed27e23f038aec66811092b93bab1f2327bd24a63 /src/glsl/nir/nir_metadata.c
parent56774e63028b2997a7d8c0abb5009a4c79f9a453 (diff)
nir: Rename live_variables to live_ssa_defs.
This computes liveness of SSA values, not nir_variables. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_metadata.c')
-rw-r--r--src/glsl/nir/nir_metadata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_metadata.c b/src/glsl/nir/nir_metadata.c
index a03e12456a1..6de981f430f 100644
--- a/src/glsl/nir/nir_metadata.c
+++ b/src/glsl/nir/nir_metadata.c
@@ -39,8 +39,8 @@ nir_metadata_require(nir_function_impl *impl, nir_metadata required)
nir_index_blocks(impl);
if (NEEDS_UPDATE(nir_metadata_dominance))
nir_calc_dominance_impl(impl);
- if (NEEDS_UPDATE(nir_metadata_live_variables))
- nir_live_variables_impl(impl);
+ if (NEEDS_UPDATE(nir_metadata_live_ssa_defs))
+ nir_live_ssa_defs_impl(impl);
#undef NEEDS_UPDATE