pan/midgard: Debug mir_insert_instruction_after_scheduled
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 16 Oct 2019 16:18:51 +0000 (12:18 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 20 Oct 2019 12:02:31 +0000 (12:02 +0000)
commit6601570ead5dbe850ea14037fc9d04e96959bfc6
treece72d59a9d197705f97f02bb90cd5ba5f78c414d
parenta6de05a968dafc2f677df86376deb78ddce421e3
pan/midgard: Debug mir_insert_instruction_after_scheduled

Add some comments explaining what's going on in a more natural flow in
order to solve the actual bug.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fixes: 2d914ebe818 ("pan/midgard: Fix memory corruption in register spilling")
src/panfrost/midgard/mir.c