pan/midgard: Replace mir_is_live_after with new pass
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 4 Oct 2019 01:42:09 +0000 (21:42 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 4 Oct 2019 02:29:51 +0000 (22:29 -0400)
commitdcd2f26b986d509b4e9a9f2266b79f0c46db8d04
treee8eb8c32bcce3d7ab627a2de022c5151c1031d53
parent39a4b3ebe94c5c0f642db7e347896d4a51df8f36
pan/midgard: Replace mir_is_live_after with new pass

Now that we have live_out calculated per block as metadata, calculating
liveness of an instruction at a given point in the program becomes O(n)
to the size of the block worst-case, rather than O(n) the program.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_liveness.c