aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_vec4_dead_code_eliminate.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-03-13 19:26:37 -0700
committerMatt Turner <[email protected]>2020-03-06 10:20:39 -0800
commitab6d7929864b1c80a8de5b7cd58775f02fe1a7ff (patch)
tree5cf9480d7e413fa3619bb593b503bf9330253b2d /src/intel/compiler/brw_vec4_dead_code_eliminate.cpp
parent65080dc8df00d006912ade2d69d4a06c3d4c5e0a (diff)
intel/compiler: Pass detailed dependency classes to invalidate_analysis()
Have fun reading through the whole back-end optimizer to verify whether I've missed any dependency flags -- Or alternatively, just trust that any mistake here will trigger an assertion failure during analysis pass validation if it ever poses a problem for the consistency of any of the analysis passes managed by the framework. Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
Diffstat (limited to 'src/intel/compiler/brw_vec4_dead_code_eliminate.cpp')
-rw-r--r--src/intel/compiler/brw_vec4_dead_code_eliminate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_vec4_dead_code_eliminate.cpp b/src/intel/compiler/brw_vec4_dead_code_eliminate.cpp
index 730d4349443..5975f1f6437 100644
--- a/src/intel/compiler/brw_vec4_dead_code_eliminate.cpp
+++ b/src/intel/compiler/brw_vec4_dead_code_eliminate.cpp
@@ -183,7 +183,7 @@ vec4_visitor::dead_code_eliminate()
ralloc_free(flag_live);
if (progress)
- invalidate_analysis(DEPENDENCY_EVERYTHING);
+ invalidate_analysis(DEPENDENCY_INSTRUCTIONS);
return progress;
}