mesa/src/compiler/nir/tests
Jesse Natalie 5d238c0c2c nir_lower_returns: Optimize phis before beginning the pass
This adds a little extra work, since now dominance is computed and
blocks that don't just have then-return or else-return are looked at.
However it means that nir_lower_returns can now keep phis up to date
by inserting undefs without causing some phis to become non-trivial.

This ends up obviating a couple of tests for lower_returns.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913>
2023-05-26 18:31:30 +00:00
..
algebraic_parser_test.py nir/algebraic: Move relocations for expression conds to a table. 2021-12-07 07:09:00 +00:00
algebraic_tests.cpp nir/tests: add tests for umod/imod/irem optimizations 2021-08-09 11:00:39 +00:00
builder_tests.cpp nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
comparison_pre_tests.cpp nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
control_flow_tests.cpp nir/tests: Don't unconditionally log shaders from this one CF test 2023-02-17 22:12:05 +00:00
core_tests.cpp nir/tests: do not use designated initializers in c++ code 2022-04-05 16:58:56 +00:00
dce_tests.cpp nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
load_store_vectorizer_tests.cpp nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
loop_analyze_tests.cpp nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
loop_unroll_tests.cpp nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
lower_alu_width_tests.cpp nir: add nir_lower_alu_width_test.fdot_order 2023-03-08 14:38:26 +00:00
mod_analysis_tests.cpp nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
negative_equal_tests.cpp nir/tests: Fix transmuting an SSA dest to be non-SSA 2021-09-14 17:53:06 +00:00
opt_if_tests.cpp nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
opt_shrink_vectors_tests.cpp nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
serialize_tests.cpp nir: Fixes [-Wdeprecated-declarations] in serialize_tests.cpp 2022-08-23 15:19:16 +00:00
ssa_def_bits_used_tests.cpp nir: Combine if_uses with instruction uses 2023-04-07 23:48:03 +00:00
vars_tests.cpp nir: Fix unused-variable compile warnings 2022-06-15 19:43:27 +00:00