amd/llvm: Reorder LLVM headers
authorJames Park <16356-jpark37@users.noreply.gitlab.freedesktop.org>
Wed, 5 Aug 2020 16:59:25 +0000 (09:59 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 17:15:18 +0000 (17:15 +0000)
commit24b80f8bb9ccfaa1579d3de074ceb82185b7d1ae
tree645967d095d030f26e0357c80a0e4f39789f7b01
parent1541ef636b2cf792c57762b0fca0dc6849bd19b5
amd/llvm: Reorder LLVM headers

LLVM uses __declspec(restrict) which breaks because Mesa define restrict
as __restrict. Move the LLVM headerse up to dodge the macro.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6180>
src/amd/llvm/ac_llvm_helper.cpp