• Jason Ekstrand's avatar
    nir/repair_ssa: Repair dominance for unreachable blocks · 3f56fa8f
    Jason Ekstrand authored
    NIR currently assumes that unreachable blocks are trivially dominated by
    everything.  However, when considering well-formed SSA, there is no path
    from any block to an unreachable block.  Therefore, we can break any
    use-def chains where the use is in an unreachable block.  This removes
    any dependencies on code created by uses in unreachable blocks and lets
    DCE do a better job of cleaning it up.
    
    Cc: mesa-stable@lists.freedesktop.org
    Reviewed-by: Caio Marcelo de Oliveira Filho's avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
    (cherry picked from commit a3268599)
    3f56fa8f
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...