nir/from_ssa: Make additional assumptions in coalescing
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Wed, 31 May 2023 18:55:47 +0000 (13:55 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 12 Jul 2023 01:34:27 +0000 (01:34 +0000)
commit29b2ace18454e8d1b06f938132a30710e899dc1c
treec2d99ce100c4706ece61c0f94311b49dc6a91989
parent36b29201faa19263a5f95e056e9cb3c3590747ec
nir/from_ssa: Make additional assumptions in coalescing

At this point, everything is SSA.  Also, NIR no longer allows different
numbers of components on the two sides of a phi so we can just assert
rather than trying to gracefully handle mismatches.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23089>
src/compiler/nir/nir_from_ssa.c