[Mesa-dev] [PATCH 1/2] i965/fs: Recalculate live intervals in calculate_register_pressure().

Eric Anholt eric at anholt.net
Sat Mar 29 19:14:15 PDT 2014


Matt Turner <mattst88 at gmail.com> writes:

> Otherwise calling dump_instructions() after declaring a new fs_reg would
> segfault when calculate_register_pressure()'s loop over reg walked off
> the end of the virtual_grf_start[] array that calculate_live_intervals()
> would have reallocated for you, if it had known there was a new
> register.

Should we just invalidate from virtual_grf_alloc(), to solve the problem
in general?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140329/faf03d89/attachment.sig>


More information about the mesa-dev mailing list