aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_nir_to_llvm.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-10-27 16:48:42 +0200
committerNicolai Hähnle <[email protected]>2016-11-03 10:05:46 +0100
commit8eabee9ec0c164bd18babfe15311db14040ad337 (patch)
tree35e09d4b1448880671fb98e161ebce8c4f0d95cd /src/amd/common/ac_nir_to_llvm.h
parent37d646c1b3626ad54ed93a784824af7b5abe8a99 (diff)
amd/common: move llvm helper prototype to ac_llvm_util.h
Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_nir_to_llvm.h')
-rw-r--r--src/amd/common/ac_nir_to_llvm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index a17caf2853e..ca06d059a6d 100644
--- a/src/amd/common/ac_nir_to_llvm.h
+++ b/src/amd/common/ac_nir_to_llvm.h
@@ -113,7 +113,3 @@ void ac_compile_nir_shader(LLVMTargetMachineRef tm,
#define AC_USERDATA_CS_GRID_SIZE 10
-#ifdef __cplusplus
-extern "C"
-#endif
-void ac_add_attr_dereferenceable(LLVMValueRef val, uint64_t bytes);