diff options
author | Marek Olšák <[email protected]> | 2018-07-05 02:27:45 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-07-19 00:58:49 -0400 |
commit | 9b82d128c96ec73eaef6b167a4651ae9716a0424 (patch) | |
tree | 6601414f4b57a554d831d3e1cd85fdf5b36e2b11 /src/amd/common/ac_llvm_util.h | |
parent | 17b5a59b4ee3adb9c99f3d850eb4a561196c69a0 (diff) |
ac: run LLVM optimization passes only on the final function after inlining
Diffstat (limited to 'src/amd/common/ac_llvm_util.h')
-rw-r--r-- | src/amd/common/ac_llvm_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 373fd8d28db..e5b93037d26 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -133,6 +133,7 @@ struct ac_compiler_passes *ac_create_llvm_passes(LLVMTargetMachineRef tm); void ac_destroy_llvm_passes(struct ac_compiler_passes *p); bool ac_compile_module_to_binary(struct ac_compiler_passes *p, LLVMModuleRef module, struct ac_shader_binary *binary); +void ac_llvm_add_barrier_noop_pass(LLVMPassManagerRef passmgr); #ifdef __cplusplus } |