i965/fs: Check for interference after finding all channels.
authorMatt Turner <mattst88@gmail.com>
Thu, 27 Mar 2014 17:15:19 +0000 (10:15 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 7 Apr 2014 17:29:22 +0000 (10:29 -0700)
commit99437b730f53dfa5d74f601415d8e2b66b68a3fd
tree91c4156ab751f3381b7b150344b80babbb6721bc
parent70285f607ce2a0680c3e51b3717fed6a8dd19e72
i965/fs: Check for interference after finding all channels.

It's more likely that we won't find writes to all channels than one will
interfere, and calculating interference is more expensive. This change
will also help prepare for coalescing load_payload instructions'
operands.

Also update the live intervals for all channels, and not just the last
that we saw.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_register_coalesce.cpp