summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_util.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-07 03:43:38 +0100
committerMarek Olšák <[email protected]>2017-11-07 17:58:36 +0100
commit81f81fdb54001903078af7df6c9e8f2d4ff46294 (patch)
tree2f1523ea14ce12af5b8d9caee71f9bb7de47f983 /src/amd/common/ac_llvm_util.h
parentc29f5fe41cea2d31188c363f039f0d55d0fff79b (diff)
radeonsi: use ac_get_llvm_processor_name
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_util.h')
-rw-r--r--src/amd/common/ac_llvm_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h
index cc4fe3bd632..d4b3915ffa9 100644
--- a/src/amd/common/ac_llvm_util.h
+++ b/src/amd/common/ac_llvm_util.h
@@ -58,6 +58,8 @@ enum ac_target_machine_options {
AC_TM_SUPPORTS_SPILL = (1 << 0),
AC_TM_SISCHED = (1 << 1),
};
+
+const char *ac_get_llvm_processor_name(enum radeon_family family);
LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, enum ac_target_machine_options tm_options);
LLVMTargetRef ac_get_llvm_target(const char *triple);