freedreno/ir3: allow block->predecessors to be null
authorRob Clark <robdclark@chromium.org>
Sun, 23 Feb 2020 19:52:02 +0000 (11:52 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 21:31:53 +0000 (21:31 +0000)
commit568e948d1fda10d825cf99f3cb05609c4ff248bd
tree55e1ad88865885a20a028df6638b0f732bd3872b
parentf87d412f08265ca6e5c47a5591c0ebbdefdbaf4c
freedreno/ir3: allow block->predecessors to be null

This way we can also use ir3_print from computerator, which mostly
bypasses the ir3_block construct (since it doesn't need to do
scheduling, etc)

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3926>
src/freedreno/ir3/ir3_print.c