Re: [Mesa-dev] [PATCH] i965/fs: Compact the virtual GRF arrays.

2012-11-02 Thread Eric Anholt
Kenneth Graunke writes: > During code generation, we create tons of temporary variables, many of > which get immediately killed and are never used. Later optimization and > analysis passes, such as compute_live_intervals, loop over all the > virtual GRFs. By compacting them, we can save a lot o

[Mesa-dev] [PATCH] i965/fs: Compact the virtual GRF arrays.

2012-11-02 Thread Kenneth Graunke
During code generation, we create tons of temporary variables, many of which get immediately killed and are never used. Later optimization and analysis passes, such as compute_live_intervals, loop over all the virtual GRFs. By compacting them, we can save a lot of overhead. Reduces compilation t