diff options
Diffstat (limited to 'src/amd/common/ac_llvm_util.h')
-rw-r--r-- | src/amd/common/ac_llvm_util.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 4ce59ec8701..06208a41ce8 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -54,7 +54,10 @@ enum ac_func_attr { AC_FUNC_ATTR_LEGACY = (1u << 31), }; -LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, bool supports_spill); +enum ac_target_machine_options { + AC_TM_SUPPORTS_SPILL = (1 << 0), +}; +LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, enum ac_target_machine_options tm_options); void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes); bool ac_is_sgpr_param(LLVMValueRef param); |