freedreno/ir3/legalize: don't allow (nopN) if (rptN)
authorRob Clark <robdclark@chromium.org>
Tue, 10 Mar 2020 23:01:30 +0000 (16:01 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 20:56:15 +0000 (20:56 +0000)
commitcd376a143461a4ed16ebd58de046f89da4113ff7
tree9bfb8e95bbe2206548730bea751a13e12707f476
parent1418ea0d0015d6bf8a5256668f4485ae22ffbc0a
freedreno/ir3/legalize: don't allow (nopN) if (rptN)

These two encodings are mutually exclusive.  If the instruction is a
vector(ish) `(rptN)` instruction, then we can't fold a `(nopN)` post-
delay into it.

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