aco: Split vector arguments at the beginning
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 15 Nov 2019 12:51:27 +0000 (13:51 +0100)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 25 Nov 2019 13:17:51 +0000 (14:17 +0100)
commita7f1c63442c26d329f637b96b31f0649468fe673
treef900a754a918a5fe29e90a2a3c3ba2d62a1c8215
parentb45c54ff8d21b9e9dcfee7980b1837350be27708
aco: Split vector arguments at the beginning

Due to how LLVM works we have to make some of the FS inputs become
vectors, and therefore have to split them early so that they don't take
up extra register pressure due to how RA currently works.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp