summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3_nir.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-09-13 15:14:28 -0700
committerKenneth Graunke <[email protected]>2016-09-14 12:01:51 -0700
commit2d8a3fa7ea994ad02a40ff497109f966e3fcbeec (patch)
tree59bb6bdd47d2cd9120af0ffeff1bcc9e0b79107b /src/gallium/drivers/freedreno/ir3/ir3_nir.c
parent32630e211e60a2b41388d403cfbd4f43344d8590 (diff)
nir: Report progress from nir_lower_phis_to_scalar.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_nir.c')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
index 25262224f98..2d86a524cdf 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
@@ -91,7 +91,7 @@ ir3_optimize_loop(nir_shader *s)
OPT_V(s, nir_lower_vars_to_ssa);
progress |= OPT(s, nir_lower_alu_to_scalar);
- OPT_V(s, nir_lower_phis_to_scalar);
+ progress |= OPT(s, nir_lower_phis_to_scalar);
progress |= OPT(s, nir_copy_prop);
progress |= OPT(s, nir_opt_dce);