pan/midgard: Add mir_rewrite_index_src_single helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 19 Jul 2019 17:50:34 +0000 (10:50 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 22 Jul 2019 15:20:34 +0000 (08:20 -0700)
commit1f297471a0bec68c1410e96e64c686537cd60860
tree903fb94644f6f33bcc0ace6dc53600709d7ebe08
parent16c8c354d0c9452011bd41e160ba9c42afa5387c
pan/midgard: Add mir_rewrite_index_src_single helper

Rather than rewriting an index away across the whole block, we expose
finer (per-instruction) granularity for rewrites.

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