pan/bi: Only rewrite COMBINE dest if not SSA
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 27 May 2020 22:29:01 +0000 (18:29 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 May 2020 20:34:55 +0000 (20:34 +0000)
commitd8c6a7187856edeb55ebd63c9274e9a780f22b35
tree0ff309d1a7d92520a089e90ea4ecabc08021c174
parente42a5dfd4f2b22c73f4627128ac6d3dbcb10aca1
pan/bi: Only rewrite COMBINE dest if not SSA

If it's already a register, there's no point in rewriting and it will
disturb the existing register, i.e. for

   if (..) {
      r0 = vecN ..
   } else {
      r0 = vecN ..
   }

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
src/panfrost/bifrost/bi_lower_combine.c