diff options
author | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | 952eddef9aff85b1e92626e89baaf7a360e2ac85 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/CodeGen/builtins-nvptx.c | |
parent | ea266cad53e3d49771fa38103913d3ec7a166694 (diff) | |
download | FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.zip FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.tar.gz |
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841
Diffstat (limited to 'test/CodeGen/builtins-nvptx.c')
-rw-r--r-- | test/CodeGen/builtins-nvptx.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/builtins-nvptx.c b/test/CodeGen/builtins-nvptx.c index 2c7e0c1..7deee8e 100644 --- a/test/CodeGen/builtins-nvptx.c +++ b/test/CodeGen/builtins-nvptx.c @@ -165,4 +165,13 @@ void nvvm_math(float f1, float f2, double d1, double d2) { double td3 = __nvvm_sqrt_rn_d(d1); // CHECK: call double @llvm.nvvm.rcp.rn.d double td4 = __nvvm_rcp_rn_d(d2); + +// CHECK: call void @llvm.nvvm.membar.cta() + __nvvm_membar_cta(); +// CHECK: call void @llvm.nvvm.membar.gl() + __nvvm_membar_gl(); +// CHECK: call void @llvm.nvvm.membar.sys() + __nvvm_membar_sys(); +// CHECK: call void @llvm.nvvm.barrier0() + __nvvm_bar0(); } |