aco: use can_accept_constant in valu_can_accept_literal
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 24 Sep 2019 12:36:16 +0000 (13:36 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Fri, 11 Oct 2019 14:26:58 +0000 (14:26 +0000)
commit45d6c69b9993b8e0f1d0ca79f8ff6ec9e02b1b4e
treeb9c9ff9de4143c49b7f9743a5b894fcda8a77cd4
parentb37857bcea79e85e9cae6dbfe858ed7aac772afe
aco: use can_accept_constant in valu_can_accept_literal

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