aco: Make sure not to mistakenly propagate 64-bit constants.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 6 Nov 2019 16:42:32 +0000 (17:42 +0100)
committerTimur Kristóf <timur.kristof@gmail.com>
Thu, 14 Nov 2019 16:27:10 +0000 (17:27 +0100)
commit94e355148f689c86f17cc6dbcb14acc28078fd8e
tree9e6e34af5167b713127400c1add89df7391e5174
parent9d3e0705240333d07c028cf0e682d1e393e63020
aco: Make sure not to mistakenly propagate 64-bit constants.

ACO's optimizer would try to propagate 64-bit constants, but
does so in such a way that wouldn't work due to how the 64-bit
constants are handled in the IR.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_optimizer.cpp