Revert "i965/fs: Don't emit SEL instructions for type-converting MOVs."
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 28 Mar 2017 04:25:13 +0000 (06:25 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 14 Apr 2017 21:56:07 +0000 (14:56 -0700)
commitdee31311eb024a636466e359b43d3a67b0135f32
tree192cd0beecfe6c0bf10ad54f56d612aa4e1343c4
parentaeecc82d057adf43189d08214b21ca5166ad9682
Revert "i965/fs: Don't emit SEL instructions for type-converting MOVs."

This reverts commit 7dccd38b400d3a65da20ddefe282a7bb0b7ccb58.

d2x pass fixes SEL instructions when there is a type conversion
by doing a SEL without type conversion and then convert the result.
This pass also takes into account the non-uniform control flow.

Then, 7dccd38b400d3a65da20ddefe282a7bb0b7ccb58 is not needed anymore.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_sel_peephole.cpp