summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-10-26 15:28:41 +1000
committerDave Airlie <[email protected]>2017-10-26 15:59:31 +1000
commit82d47b9d38f22bc26001253de7996b9b372e9d0c (patch)
treeb9915df61826d3ae184b6ee04244d0be3da68554 /src/amd/common/ac_llvm_build.h
parentde2b241111a0d89bf4298cca8f19e9a11b8fdb6c (diff)
ac/llvm: consolidate find lsb function.
This was the same between si and ac. Reviewed-by: Timothy Arceri <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r--src/amd/common/ac_llvm_build.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index b47d51acebb..f7906198277 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -297,6 +297,10 @@ LLVMValueRef ac_lds_load(struct ac_llvm_context *ctx,
LLVMValueRef dw_addr);
void ac_lds_store(struct ac_llvm_context *ctx,
LLVMValueRef dw_addr, LLVMValueRef value);
+
+LLVMValueRef ac_find_lsb(struct ac_llvm_context *ctx,
+ LLVMTypeRef dst_type,
+ LLVMValueRef src0);
#ifdef __cplusplus
}
#endif