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 <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
This commit is contained in:

committed by
Matt Turner

parent
65080dc8df
commit
ab6d792986
@@ -1208,7 +1208,7 @@ fs_reg_alloc::assign_regs(bool allow_spilling, bool spill_all)
|
||||
}
|
||||
|
||||
if (spilled)
|
||||
fs->invalidate_analysis(DEPENDENCY_EVERYTHING);
|
||||
fs->invalidate_analysis(DEPENDENCY_INSTRUCTIONS | DEPENDENCY_VARIABLES);
|
||||
|
||||
/* Get the chosen virtual registers for each node, and map virtual
|
||||
* regs in the register classes back down to real hardware reg
|
||||
|
Reference in New Issue
Block a user