diff options
author | Marek Olšák <[email protected]> | 2017-11-07 03:43:38 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-07 17:58:36 +0100 |
commit | 81f81fdb54001903078af7df6c9e8f2d4ff46294 (patch) | |
tree | 2f1523ea14ce12af5b8d9caee71f9bb7de47f983 /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | c29f5fe41cea2d31188c363f039f0d55d0fff79b (diff) |
radeonsi: use ac_get_llvm_processor_name
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 649a72e0fcf..e96380ce40a 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -155,7 +155,7 @@ si_create_llvm_target_machine(struct si_screen *sscreen) sscreen->b.debug_flags & DBG(SI_SCHED) ? ",+si-scheduler" : ""); return LLVMCreateTargetMachine(ac_get_llvm_target(triple), triple, - si_get_llvm_processor_name(sscreen->b.family), + ac_get_llvm_processor_name(sscreen->b.family), features, LLVMCodeGenLevelDefault, LLVMRelocDefault, @@ -907,7 +907,7 @@ static void si_handle_env_var_force_family(struct si_screen *sscreen) return; for (i = CHIP_TAHITI; i < CHIP_LAST; i++) { - if (!strcmp(family, si_get_llvm_processor_name(i))) { + if (!strcmp(family, ac_get_llvm_processor_name(i))) { /* Override family and chip_class. */ sscreen->b.family = sscreen->b.info.family = i; |