i965/vec4: Try constant propagate after copy propagate made progress.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner 2014-06-23 22:29:57 -07:00
parent d5432e3f45
commit 9a8acafa47
1 changed files with 4 additions and 2 deletions

View File

@ -367,8 +367,10 @@ vec4_visitor::opt_copy_propagation()
if (c != 4)
continue;
if (try_constant_propagate(brw, inst, i, values) ||
try_copy_propagate(brw, inst, i, values))
if (try_constant_propagate(brw, inst, i, values))
progress = true;
if (try_copy_propagate(brw, inst, i, values))
progress = true;
}