Helped to track down a problem in a version of the next commit.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
int ip, fs_reg reg)
{
int var = var_from_vgrf[reg.reg] + reg.reg_offset;
+ assert(var < num_vars);
/* In most cases, a register can be written over safely by the
* same instruction that is its last use. For a single
int ip, fs_reg reg)
{
int var = var_from_vgrf[reg.reg] + reg.reg_offset;
+ assert(var < num_vars);
start[var] = MIN2(start[var], ip);
end[var] = MAX2(end[var], ip);