ac/nir: Fix include for LLVMAddPromoteMemoryToRegisterPass
authorMike Lothian <mike@fireburn.co.uk>
Sun, 1 Apr 2018 00:32:20 +0000 (01:32 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 2 Apr 2018 18:27:29 +0000 (14:27 -0400)
commit7e144ace95bc0727301c02ff19f5aa278277f133
treea63379b854ae39603b38e07062e83fcd847c4035
parent4cbecb61682a0ee426faaa03d824fc8fd7aef826
ac/nir: Fix include for LLVMAddPromoteMemoryToRegisterPass

Include llvm-c/Transforms/Utils.h with the newest LLVM 7

Signed-of-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/amd/vulkan/radv_nir_to_llvm.c