i965/fs: Restrict inequality that can only hold equal in saturate propagation.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 7 Mar 2016 03:03:56 +0000 (19:03 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 14 Mar 2016 21:58:19 +0000 (14:58 -0700)
commitb0546057220ac2906913bfd283aaefa6c4cb6038
treec22e35e7b1b7cb5cf9c68e816fe4ca2b5c2fe44b
parent7d7990cf657550be4d038a0424ffdc0ef7fd8faa
i965/fs: Restrict inequality that can only hold equal in saturate propagation.

Should have no functional change.  The IP value of an instruction that
reads src_var cannot possibly be after the end of the live interval of
the variable it's reading from, by the definition of live interval.
Might save future readers a momentary WTF while trying to understand
this code.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp