mesa/src
Khem Raj 5a9c052ba7 amd: Include missing llvm IR header Module.h
With LLVM-19, Module.h header is not being pulled, which results in
compile errors e.g.

src/amd/llvm/ac_llvm_helper.cpp:102:10: error: no matching function for call to ‘unwrap(LLVMOpaqueModule*&)’
  102 |    unwrap(module)->setTargetTriple(TM->getTargetTriple().getTriple());
      |    ~~~~~~^~~~~~~~
In file included from /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mesa-native/24.0.7/recipe-sysroot-native/usr/include/llvm/IR/Type.h:18,
                 from /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mesa-native/24.0.7/recipe-sysroot-native/usr/include/llvm/IR/DerivedTypes.h:23,
                 from /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mesa-native/24.0.7/recipe-sysroot-native/usr/include/llvm/IR/InstrTypes.h:26,
                 from /mnt/b/yoe/master/build/tmp/work/x86_64-linux/mesa-native/24.0.7/recipe-sysroot-native/usr/include/llvm/Analysis/TargetLibraryInfo.h:14,
                 from ../mesa-24.0.7/src/amd/llvm/ac_llvm_helper.cpp:8:

Its getting the definition from llvm/IR/Type.h instead of Module.h and caused
confusion to compiler

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11424

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29993>
2024-07-03 19:26:47 +00:00
..
amd amd: Include missing llvm IR header Module.h 2024-07-03 19:26:47 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi asahi: Make asahi_clc build work on x86_64->x86 builds 2024-06-22 10:09:45 -04:00
broadcom broadcom/ci: run some GL tests in arm32 arch 2024-07-03 09:40:04 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler glsl: fix indirect tess factor access for compact_arrays=false drivers 2024-07-03 02:06:56 +00:00
drm-shim build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
egl egl/wayland: fix memory leak in error handling case 2024-07-02 17:45:12 +00:00
etnaviv ci/etnaviv: Drop shaders@glsl-bug-110796 line 2024-07-03 19:10:25 +00:00
freedreno tu: Support VK_EXT_fragment_density_map on a750 2024-07-03 16:36:19 +00:00
gallium lavapipe: Set ICD api_version to 1.3 2024-07-03 18:32:47 +00:00
gbm build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
glx build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imgui
intel intel/perf: Adjust EU count for Xe2+ 2024-07-03 17:15:05 +00:00
loader build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
mapi build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
mesa mesa/st: use compute pbo download for readpixels 2024-07-03 15:46:06 +00:00
microsoft build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
nouveau build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
panfrost build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
tool build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util blake3: fix Windows ARM64 build and detect ARM64EC as ARM64 2024-07-02 22:17:17 +00:00
virtio venus: tentative fix for test flakiness from invalid ring wait 2024-07-02 03:25:49 +00:00
vulkan vulkan/properties: handle LayeredApiPropertiesListKHR 2024-07-02 20:24:43 +00:00
.clang-format asahi: add agx_ppp_push_merged helper 2024-05-14 04:57:27 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00