amd: replace major llvm version checks with LLVM_VERSION_MAJOR
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 27 Aug 2019 23:06:03 +0000 (00:06 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 6 Sep 2019 21:26:29 +0000 (22:26 +0100)
commit19d9e57f2c0c3e6cd9809dbc6ef65eab163ee255
treebd3a0e3b9cb58cc0354639b2ce0f6c65485ba1aa
parentbce9c05ca8820bb0f31976e35674485b2ec15a8d
amd: replace major llvm version checks with LLVM_VERSION_MAJOR

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_util.h
src/amd/common/ac_nir_to_llvm.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_extensions.py
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
src/gallium/drivers/radeonsi/si_get.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c