aco: don't use a scalar temporary for reductions on GFX10
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 20 Nov 2019 17:57:23 +0000 (18:57 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Sat, 7 Dec 2019 10:23:11 +0000 (11:23 +0100)
commit9254fb4fc72ed289ffded28ef067b4582973e90c
tree65946beed34fe0301ac772a3534b6b22f1c14539
parent8ad43d88384dcf4d3aa6ac95b2dddedc80ecf457
aco: don't use a scalar temporary for reductions on GFX10

This patch also adds the scalar temporary for scans on SI/CI

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