aco: a couple loop handling fixes for GFX10 hazard pass
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 29 Oct 2019 11:19:39 +0000 (11:19 +0000)
committerDaniel Schürmann <daniel@schuermann.dev>
Wed, 30 Oct 2019 18:13:53 +0000 (18:13 +0000)
commitd4684a294baf636d1bf71b51537bf229c31ec085
treecfeacb0abec919a39798748c6d50efcecdaebe2d
parent12d3b11908e0a033be4f3e8b92ae4a36ce910f36
aco: a couple loop handling fixes for GFX10 hazard pass

It was joining from the wrong blocks and block.kind is a bitmask instead
of an enum.

Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
src/amd/compiler/aco_insert_NOPs.cpp