aco: fix block_kind_discard s_andn2 definition to exec
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 18 Nov 2019 21:00:17 +0000 (21:00 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 2 Dec 2019 16:56:24 +0000 (16:56 +0000)
commit01cacdb71ee45067dd8fa48298530bd8a05c53d0
tree195368fdfa44064cb829c903d76e39e8d4dfda12
parent0e8da9f60718520d1c3abd335a047282bb760b78
aco: fix block_kind_discard s_andn2 definition to exec

Improves generated code of dEQP-VK.graphicsfuzz.disc-and-add-in-func-in-loop
because a loop exit phi can then be fixed to exec, removing copies and
improving jump threading.

No pipeline-db changes.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_insert_exec_mask.cpp