i965/vec4: Try constant propagate after copy propagate made progress.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
d5432e3f45
commit
9a8acafa47
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue