i965/fs: Pass cfg to calculate_live_intervals().
authorMatt Turner <mattst88@gmail.com>
Sun, 29 Jun 2014 03:02:51 +0000 (20:02 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 1 Jul 2014 15:55:52 +0000 (08:55 -0700)
commit2e90d1fb62a6ef53c15eff76e242c510145178a9
tree57ea18f128ff1fa1a4c76a90ad06376d509b6a6b
parentec1b2d6aa075c678f0eb0405be64253450f995a1
i965/fs: Pass cfg to calculate_live_intervals().

We've often created the CFG immediately before, so use it when
available.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.h
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp