Skip to content
Snippets Groups Projects
Commit 843a1364 authored by Justin Holewinski's avatar Justin Holewinski
Browse files

[NVPTX] Add entire list of supported builtins

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182468 91177308-0d34-0410-b5e6-96231b3b80d8
parent e573c3f7
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -165,4 +165,13 @@ void nvvm_math(float f1, float f2, double d1, double d2) { ...@@ -165,4 +165,13 @@ void nvvm_math(float f1, float f2, double d1, double d2) {
double td3 = __nvvm_sqrt_rn_d(d1); double td3 = __nvvm_sqrt_rn_d(d1);
// CHECK: call double @llvm.nvvm.rcp.rn.d // CHECK: call double @llvm.nvvm.rcp.rn.d
double td4 = __nvvm_rcp_rn_d(d2); 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();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment