mesa/src
Jason Ekstrand d63162cff0 nir/repair_ssa: Replace the unreachable check with the phi builder
In a3268599f3, I attempted to fix nir_repair_ssa for unreachable
blocks.  However, that commit missed the possibility that the use is in
a block which, itself, is unreachable.  In this case, we can end up in
an infinite loop trying to replace a def with itself.  Even though a
no-op replacement is a fine operation, it keeps extending the end of the
uses list as we're walking it.  Instead of explicitly checking for the
group of conditions, just check if the phi builder gives us a different
def.  That's guaranteed to be 100% reliable and, while it lacks symmetry
with the is_valid checks, should be more reliable.

Fixes: a3268599 "nir/repair_ssa: Repair dominance for unreachable..."
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2019-09-23 16:19:24 +00:00
..
amd aco: only emit waitcnt on loop continues if we there was some load or export 2019-09-23 13:39:33 +02:00
broadcom nir: allow specifying filter callback in lower_alu_to_scalar 2019-09-06 01:51:28 +00:00
compiler nir/repair_ssa: Replace the unreachable check with the phi builder 2019-09-23 16:19:24 +00:00
drm-shim
egl egl/surfaceless: Add FP16 format support 2019-09-20 19:10:31 +00:00
etnaviv etnaviv: Add valgrind support 2019-08-14 10:36:20 +02:00
freedreno freedreno/regs: A couple of tess updates 2019-09-18 16:59:10 -07:00
gallium nv50/ir/nir: comparison of integer expressions of different signedness warning 2019-09-23 13:27:32 +02:00
gbm libgbm: Wire up getCapability for the image loader 2019-09-20 19:10:31 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx glx: Fix drawable lookup bugs in glXUseXFont 2019-09-19 21:06:01 -04:00
gtest
hgl
imgui
intel isl: Drop WaDisableSamplerL2BypassForTextureCompressedFormats on Gen11 2019-09-20 15:35:17 -07:00
loader driconfig: add a new engine name/version parameter 2019-09-15 15:37:02 +03:00
mapi scons: Make scons and meson agree about path to glapi generated headers 2019-09-16 17:54:00 +00:00
mesa st/mesa: Bail on incomplete attachments in discard_framebuffer 2019-09-22 21:03:16 -07:00
panfrost Revert "panfrost: Rework midgard_pair_load_store() to kill the nested foreach loop" 2019-09-19 21:01:27 +02:00
util util/rb_tree: Reverse the order of comparison functions 2019-09-20 17:37:25 +00:00
vulkan vulkan: Update the XML and headers to 1.1.123 2019-09-17 04:11:05 +00:00
meson.build gl: drop incorrect pkg-config file for glvnd 2019-09-18 22:16:51 +01:00
SConscript