i965/fs: bail on move-to-flag in sel peephole
Fixes a piglit regression (shaders/glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined) with my series for GVN. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
parent
1cc00f1875
commit
ccb9cbc849
|
@ -176,7 +176,9 @@ fs_visitor::opt_peephole_sel()
|
|||
/* Check that the MOVs are the right form. */
|
||||
if (!then_mov[i]->dst.equals(else_mov[i]->dst) ||
|
||||
then_mov[i]->is_partial_write() ||
|
||||
else_mov[i]->is_partial_write()) {
|
||||
else_mov[i]->is_partial_write() ||
|
||||
then_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE ||
|
||||
else_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE) {
|
||||
movs = i;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue