microsoft/compiler: preserve all metadata when upcast_phi doesn't make progress
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Tue, 10 Aug 2021 11:15:25 +0000 (13:15 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Aug 2021 11:23:30 +0000 (11:23 +0000)
commit9aafb91f0e50be5e5347304deca8206c51617cbd
treeb16a2b093c395b77191e03f0dbc6224b1a660077
parent17a61ec541bd8e0c390507f3adcb710820af53d8
microsoft/compiler: preserve all metadata when upcast_phi doesn't make progress

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12324>
src/microsoft/compiler/dxil_nir.c