radeonsi: include ac_llvm_util.h when llvm available

Remove unused include.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25632>
This commit is contained in:
Qiang Yu 2023-09-04 16:22:02 +08:00
parent c2e2a78c72
commit bad8fbe7f8
3 changed files with 3 additions and 2 deletions

View file

@ -9,7 +9,6 @@
#include "radeon_vce.h"
#include "radeon_video.h"
#include "si_pipe.h"
#include "ac_llvm_util.h"
#include "util/u_cpu_detect.h"
#include "util/u_screen.h"
#include "util/u_video.h"

View file

@ -4,7 +4,10 @@
* SPDX-License-Identifier: MIT
*/
#ifdef LLVM_AVAILABLE
#include "ac_llvm_util.h"
#endif
#include "ac_nir.h"
#include "ac_shader_util.h"
#include "compiler/nir/nir_serialize.h"

View file

@ -20,7 +20,6 @@
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "ac_llvm_util.h"
#include "sid.h"
static struct hash_table *dev_tab = NULL;