diff options
author | Tom Stellard <tstellar@gmail.com> | 2010-09-24 22:14:43 -0700 |
---|---|---|
committer | Tom Stellard <tstellar@gmail.com> | 2010-09-25 14:53:25 -0700 |
commit | 522e994a22e8b46c8a41f2920af88c5ebad43cd8 (patch) | |
tree | b724c5fd55093d59439a53cef145fadec5dbb55c /src/gallium/winsys/r600 | |
parent | 1e35f6472df3341aca4d62eb3a3210603701c285 (diff) |
r300/compiler: Fix two mistakes in the presubtract optimization pass.
1. We can't turn an instruction into a presubtract operation if it
writes to one of the registers it reads from.
2. If we turn an instruction into a presubtract operation, we can't
remove that intruction unless all readers can use the presubtract
operation.
This fixes fdo bug 30337.
This is a candidate for the 7.9 branch.
Diffstat (limited to 'src/gallium/winsys/r600')
0 files changed, 0 insertions, 0 deletions