freedreno/ir3: maintain predecessors/successors
authorRob Clark <robdclark@chromium.org>
Sat, 29 Jun 2019 11:52:47 +0000 (04:52 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 28 Aug 2019 22:25:25 +0000 (15:25 -0700)
commit6af70aa2b457d2c2dc8c7818f71459f407f99eae
tree590ef3300414cc2c13197e85c51ad6d4af2da4ae
parent06bc4875fff8ad144dbebebe53241da4655aecc6
freedreno/ir3: maintain predecessors/successors

While resolving jumps to skip intermediate jumps from the structured
CFG, maintain the successors and predecessors correctly.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/ir3/ir3_legalize.c