i965/vec4: Compare full register offsets in cmod propagation.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Sep 2016 05:26:59 +0000 (22:26 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:58 +0000 (14:50 -0700)
commit0e657b7b55bc7c83c8eb5258cd9522b0e5e581b7
tree0f23267ae67050ee8c80f906422f54573465aade
parent8bed1adfc144d9ae8d55ccb9b277942da8a78064
i965/vec4: Compare full register offsets in cmod propagation.

Cmod propagation would misoptimize the program if the destination
offset of the generating instruction wasn't exactly the same as the
source region offset of the copy instruction.  In preparation for
adding support for sub-GRF offsets to the VEC4 IR.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_vec4_cmod_propagation.cpp