diff options
author | Marek Olšák <[email protected]> | 2018-04-09 18:35:45 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-27 17:56:04 -0400 |
commit | 43f0a10051337c08d4c74e4c205dc75336d00ef9 (patch) | |
tree | 2b84ec2a165cccd7fbbfbeeb55ee6b03a72ef85d /src/amd/common/ac_llvm_util.h | |
parent | 87eb597758a1fe126a712675e8f15c4395c57143 (diff) |
radeonsi: add triple into si_compiler
Reviewed-by: Timothy Arceri <[email protected]>
Tested-by: Benedikt Schemmer <ben at besd.de>
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 9c6b89bf6c1..0aa803c5bc1 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -68,7 +68,9 @@ enum ac_float_mode { }; 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); +LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, + enum ac_target_machine_options tm_options, + const char **out_triple); LLVMTargetRef ac_get_llvm_target(const char *triple); void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes); |