mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-14 10:20:19 +00:00
5ec2d1a8cd
* Don't fold specialized branchs in loop unswitch Folding branches can have a lot of special cases, and can be a little error prone. So I only want it in one place. That will be in dead branch elimination. I will change loop unswitching to set the branches that were being folded to have a constant condition. Then subsequent pass of dead branch elimination will be able to remove the code. At the same time, I added a check that loop unswitching will not unswitch a branch with a constant condition. It is not useful to do it because dead branch elimination will simple fold the branch anyway. Also it avoid an infinite loop that would other wise be introduced by my first change. Fixes #2203. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dependence_analysis_helpers.cpp | ||
dependence_analysis.cpp | ||
fusion_compatibility.cpp | ||
fusion_illegal.cpp | ||
fusion_legal.cpp | ||
fusion_pass.cpp | ||
hoist_all_loop_types.cpp | ||
hoist_double_nested_loops.cpp | ||
hoist_from_independent_loops.cpp | ||
hoist_simple_case.cpp | ||
hoist_single_nested_loops.cpp | ||
hoist_without_preheader.cpp | ||
lcssa.cpp | ||
loop_descriptions.cpp | ||
loop_fission.cpp | ||
nested_loops.cpp | ||
pch_test_opt_loop.cpp | ||
pch_test_opt_loop.h | ||
peeling_pass.cpp | ||
peeling.cpp | ||
unroll_assumptions.cpp | ||
unroll_simple.cpp | ||
unswitch.cpp |