summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_if.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-12-13 18:19:42 -0800
committerJason Ekstrand <[email protected]>2016-12-29 16:02:44 -0800
commitfb181196deac2e3a070c49a29803e53cc7cc7f9b (patch)
treeec2947cae8239ab8b0280f577417a8067e81c913 /src/compiler/nir/nir_opt_if.c
parent194537ebe44cfcd6d72a98d0c2118f10a9e58deb (diff)
nir: Rename convert_to_ssa lower_regs_to_ssa
This matches the naming of nir_lower_vars_to_ssa, the other to-SSA pass.
Diffstat (limited to 'src/compiler/nir/nir_opt_if.c')
-rw-r--r--src/compiler/nir/nir_opt_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_if.c b/src/compiler/nir/nir_opt_if.c
index ec66175027a..68dacea7707 100644
--- a/src/compiler/nir/nir_opt_if.c
+++ b/src/compiler/nir/nir_opt_if.c
@@ -247,7 +247,7 @@ nir_opt_if(nir_shader *shader)
* need to convert registers back into SSA defs and clean up SSA defs
* that don't dominate their uses.
*/
- nir_convert_to_ssa_impl(function->impl);
+ nir_lower_regs_to_ssa_impl(function->impl);
progress = true;
}
}