i965/fs: do d2x lowering before simd splitting

So that we can have gen7 split large writes produced by this lowering pass.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Samuel Iglesias Gonsálvez 2016-07-08 09:33:45 +02:00
parent 376d7ee587
commit a2bd7334ed
1 changed files with 5 additions and 5 deletions

View File

@ -5844,6 +5844,11 @@ fs_visitor::optimize()
OPT(dead_code_eliminate);
}
if (OPT(lower_d2x)) {
OPT(opt_copy_propagate);
OPT(dead_code_eliminate);
}
OPT(lower_simd_width);
/* After SIMD lowering just in case we had to unroll the EOT send. */
@ -5880,11 +5885,6 @@ fs_visitor::optimize()
OPT(dead_code_eliminate);
}
if (OPT(lower_d2x)) {
OPT(opt_copy_propagate);
OPT(dead_code_eliminate);
}
OPT(opt_combine_constants);
OPT(lower_integer_multiplication);