diff options
author | Scott Linder <scott@scottlinder.com> | 2019-02-01 21:23:28 +0000 |
---|---|---|
committer | Scott Linder <scott@scottlinder.com> | 2019-02-01 21:23:28 +0000 |
commit | afc24ed21adfe61f1223e49e1f2cc0afb6a056e8 (patch) | |
tree | 2c65d792c1aa2a59501a025e0fc793ae2aef3e01 /llvm/test/CodeGen/AMDGPU/mem-builtins.ll | |
parent | de9ffab1ca792424939e8c928fbbcb6a38bef9f9 (diff) | |
download | bcm5719-llvm-afc24ed21adfe61f1223e49e1f2cc0afb6a056e8.tar.gz bcm5719-llvm-afc24ed21adfe61f1223e49e1f2cc0afb6a056e8.zip |
[AMDGPU] Mark test functions with hidden visibility
Prepare for future patch which affects codegen for calls to preemptible
functions.
Differential Revision: https://reviews.llvm.org/D57605
llvm-svn: 352920
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/mem-builtins.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/mem-builtins.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/mem-builtins.ll b/llvm/test/CodeGen/AMDGPU/mem-builtins.ll index c7607a32f1b..37bfac34604 100644 --- a/llvm/test/CodeGen/AMDGPU/mem-builtins.ll +++ b/llvm/test/CodeGen/AMDGPU/mem-builtins.ll @@ -1,12 +1,12 @@ ; RUN: not llc -march=r600 < %s 2>&1 | FileCheck -check-prefix=ERROR %s ; RUN: llc -march=amdgcn < %s | FileCheck -check-prefix=GCN %s -declare i32 @memcmp(i8 addrspace(1)* readonly nocapture, i8 addrspace(1)* readonly nocapture, i64) #0 -declare i8 addrspace(1)* @memchr(i8 addrspace(1)* readonly nocapture, i32, i64) #1 -declare i8* @strcpy(i8* nocapture, i8* readonly nocapture) #0 -declare i32 @strlen(i8* nocapture) #1 -declare i32 @strnlen(i8* nocapture, i32) #1 -declare i32 @strcmp(i8* nocapture, i8* nocapture) #1 +declare hidden i32 @memcmp(i8 addrspace(1)* readonly nocapture, i8 addrspace(1)* readonly nocapture, i64) #0 +declare hidden i8 addrspace(1)* @memchr(i8 addrspace(1)* readonly nocapture, i32, i64) #1 +declare hidden i8* @strcpy(i8* nocapture, i8* readonly nocapture) #0 +declare hidden i32 @strlen(i8* nocapture) #1 +declare hidden i32 @strnlen(i8* nocapture, i32) #1 +declare hidden i32 @strcmp(i8* nocapture, i8* nocapture) #1 ; ERROR: error: <unknown>:0:0: in function test_memcmp void (i8 addrspace(1)*, i8 addrspace(1)*, i32*): unsupported call to function memcmp |