From 29c1f67e9f166da4393493d213ee06498aecac51 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sat, 28 Jan 2017 23:51:19 +0100 Subject: radv/ac: Add compiler support for spilling. Based on code written by Dave Airlie. Signed-off-by: Bas Nieuwenhuizen Reviewed-by: Dave Airlie --- src/amd/common/ac_llvm_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/common/ac_llvm_util.h') diff --git a/src/amd/common/ac_llvm_util.h b/src/amd/common/ac_llvm_util.h index 2d301c93575..c07f67ab8b1 100644 --- a/src/amd/common/ac_llvm_util.h +++ b/src/amd/common/ac_llvm_util.h @@ -56,7 +56,7 @@ struct ac_llvm_context { LLVMValueRef fpmath_md_2p5_ulp; }; -LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family); +LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, bool supports_spill); void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes); bool ac_is_sgpr_param(LLVMValueRef param); -- cgit v1.2.3