aco: only skip RAR dependencies if the variable is killed somewhere
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 28 Aug 2019 10:08:12 +0000 (12:08 +0200)
committerRhys Perry <pendingchaos02@gmail.com>
Wed, 30 Oct 2019 16:12:10 +0000 (16:12 +0000)
commit576f92d9007bd49d0a79aac9a6d8219bc3393604
treeeb3ad266d054fb846250acddc815e725627680f4
parent703ce617ca4045a9e4d3e05b8e6ed607d89fd338
aco: only skip RAR dependencies if the variable is killed somewhere

This patch changes VMEM scheduling in a way that they can only
be moved upwards by previous VMEM instructions but not downwards.
This way, it improves the order of VMEM instructions in relation
to their users.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
src/amd/compiler/aco_scheduler.cpp