freedreno/ir3: move atomic fixup after RA
authorRob Clark <robdclark@chromium.org>
Fri, 10 Jan 2020 22:07:03 +0000 (14:07 -0800)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 Feb 2020 02:40:22 +0000 (02:40 +0000)
commit300d1181c72043afe045a155079fc152fcd1283e
tree44e62fdeb54af7f78b0fd7de5410905ad2a7689f
parent304b50c9f8f57a115ac251f022093c8adfb0823d
freedreno/ir3: move atomic fixup after RA

A post-RA sched pass will move the extra mov's to the wrong place, so
rework the fixup so it can run after RA (and therefore after postsched)

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