i965: Also do constant propagation for the second operand of CMP.
authorEric Anholt <eric@anholt.net>
Tue, 5 Oct 2010 17:25:22 +0000 (10:25 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 6 Oct 2010 16:33:26 +0000 (09:33 -0700)
commit634abbf7b2e6ea21db30aafc0de9472ee31d4173
tree0078aea75b3b0da822056b5370fd24db71b72f94
parentdcd0261affc293b75d231e612091ec7b1076fff6
i965: Also do constant propagation for the second operand of CMP.

We could do the first operand as well by flipping the comparison, but
this covered several CMPs in code I was looking at.
src/mesa/drivers/dri/i965/brw_fs.cpp