aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs_visitor.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-03-09 17:46:16 -0800
committerMatt Turner <[email protected]>2020-03-06 10:20:43 -0800
commitba73e606f63a4633fa9d8bef69f87b2d88851416 (patch)
tree6a6bcb69c3f943b558458b9933fcb57adca06ecd /src/intel/compiler/brw_fs_visitor.cpp
parent3ceb496cdf5ef0ccc79e71c8fb856535501a9446 (diff)
intel/compiler: Move all live interval analysis results into fs_live_variables
This moves the following methods that are currently defined in fs_visitor (even though they are side products of the liveness analysis computation) and are already implemented in brw_fs_live_variables.cpp: > bool virtual_grf_interferes(int a, int b) const; > int *virtual_grf_start; > int *virtual_grf_end; It makes sense for them to be part of the fs_live_variables object, because they have the same lifetime as other liveness analysis results and because this will allow some extra validation to happen wherever they are accessed in order to make sure that we only ever use up-to-date liveness analysis results. This shortens the virtual_grf prefix in order to compensate for the slightly increased lexical overhead from the live_intervals pointer dereference. Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
Diffstat (limited to 'src/intel/compiler/brw_fs_visitor.cpp')
-rw-r--r--src/intel/compiler/brw_fs_visitor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_visitor.cpp
index f7baeb5522f..92332eb8337 100644
--- a/src/intel/compiler/brw_fs_visitor.cpp
+++ b/src/intel/compiler/brw_fs_visitor.cpp
@@ -933,8 +933,6 @@ fs_visitor::init()
this->first_non_payload_grf = 0;
this->max_grf = devinfo->gen >= 7 ? GEN7_MRF_HACK_START : BRW_MAX_GRF;
- this->virtual_grf_start = NULL;
- this->virtual_grf_end = NULL;
this->live_intervals = NULL;
this->regs_live_at_ip = NULL;