freedreno/ir3: legalize cleanups
authorRob Clark <robdclark@chromium.org>
Sun, 10 Nov 2019 18:49:59 +0000 (10:49 -0800)
committerRob Clark <robdclark@chromium.org>
Tue, 12 Nov 2019 21:57:52 +0000 (13:57 -0800)
commitdf7a88dca3e85ad40e5313840aadce884b28bb8d
treef58e266e444290e7582e1f8b7137c50baeadbeab
parentb22617fb57be54a859a8d62a5e545afcb38266e9
freedreno/ir3: legalize cleanups

We can clear the "needs" flags once we emit a flag.  And also, don't
open-code the opcode name.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/ir3/ir3_legalize.c