util/ra: Make allocating conflict lists optional
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 15 Aug 2015 16:58:32 +0000 (09:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 19 Aug 2015 00:48:53 +0000 (17:48 -0700)
commitf01bdb0484dd5224b183526d020ee3f2888cac45
tree220dd0d240197461455409e39a94284803ccaafd
parentc3b21f2d56d77c8c11115bf110a5e25e9dd7e3d5
util/ra: Make allocating conflict lists optional

Since i965 is now using make_reg_conflicts_transitive and doesn't need
q-value computations, they are disabled on i965.  They are enabled
everywhere else so that they get the old behavior.  This reduces the time
spent in eglInitialize() on BDW by around 10-15%.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/ir3/ir3_ra.c
src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c
src/gallium/drivers/vc4/vc4_register_allocate.c
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
src/util/register_allocate.c
src/util/register_allocate.h