amd: Make vgpr-spilling depend on llvm version
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 1 Nov 2018 18:30:08 +0000 (14:30 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 2 Nov 2018 14:32:47 +0000 (10:32 -0400)
commit9cab8ccd6cb5aa8a4748dd6d7fc15d9747624df6
treef3f59285be63c92b9ea0a516fbf331b04d27feee
parent769ae9fb7f8cea1d4a03e31f7f4a1c988e424c03
amd: Make vgpr-spilling depend on llvm version

The option was removed in LLVM r345763

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/amd/common/ac_llvm_util.c