aco: value-number MUBUF instructions
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 3 Jan 2020 17:38:23 +0000 (17:38 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 28 Jan 2020 11:40:22 +0000 (11:40 +0000)
commit21d2799cee8d5fa01b118a8afe595759b4f22cab
tree747d6a4abf7e9a7a458b4cd9eec9f2f3c5a4e207
parentd39f5519a11ca865506637a8b69cf6f2b7f5699a
aco: value-number MUBUF instructions

We will have to do this when we start creating MUBUF instructions for
load_input because NIR might not be able to tell they are identical since
it doesn't know whether two vertex attributes have the same offset.

No pipeline-db changes.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3086>
src/amd/compiler/aco_opt_value_numbering.cpp