[Mesa-stable] [Mesa-dev] [PATCH 2/2] i965/vec4: Fix dead code elimination for VGRFs of size > 1.

Matt Turner mattst88 at gmail.com
Sat Jun 14 09:17:14 PDT 2014


On Sat, Jun 14, 2014 at 4:10 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> When faced with code such as:
>
>     mov vgrf31.0:UD, 960D
>     mov vgrf31.1:UD, vgrf30.xxxx:UD
>
> The dead code eliminator brilliantly decided that the second instruction
> was writing to the same register as the first one, so the first one
> could be eliminated.  Except that they're not the same register at all.

I'd appreciate dropping the mockery.

Both are

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-stable mailing list