radeonsi: fix LLVM 3.9 - don't use non-matching attributes on declarations
authorMarek Olšák <marek.olsak@amd.com>
Sun, 5 Mar 2017 22:19:57 +0000 (23:19 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Mar 2017 13:13:04 +0000 (14:13 +0100)
commit9b08f044bef03194759064c3d680143d264f507f
tree2f0fdb6bb67f514aae967ca9846112ac4a4a7b7d
parent6398a092131ab0c9cb47f2a6f78ae1d8ba0ea65c
radeonsi: fix LLVM 3.9 - don't use non-matching attributes on declarations

Call site attributes are used since LLVM 4.0.

This also reverts commit b19caecbd6f310c1663b0cfe483d113ae3bd5fe2
"radeon/ac: fix intrinsic version check", because this is the correct fix.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c
src/gallium/drivers/radeonsi/si_shader.c