intel/compiler: Reverse inclusion dependency between brw_vec4_live_variables.h and...
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 10 Mar 2016 01:06:50 +0000 (17:06 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 6 Mar 2020 18:20:28 +0000 (10:20 -0800)
commit27ae3c1f684fe64e47f7a6cd374dc156f15847e0
tree52ff1a685d78a1ab7dbfa52db29fa894cbb05f21
parenta6fc88e91bdf9e235aa8a0a0f69f219c051cb1af
intel/compiler: Reverse inclusion dependency between brw_vec4_live_variables.h and brw_vec4.h

brw_vec4.h (in particular vec4_visitor) is logically a user of the
live variables analysis pass, not the other way around.
brw_vec4_live_variables.h requires the definition of some VEC4 IR data
structures to compile, but those can be obtained directly from
brw_ir_vec4.h without including brw_vec4.h.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
src/intel/compiler/brw_vec4.cpp
src/intel/compiler/brw_vec4.h
src/intel/compiler/brw_vec4_live_variables.cpp
src/intel/compiler/brw_vec4_live_variables.h