summaryrefslogtreecommitdiff
path: root/test/OpenMP/taskloop_codegen.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-02 12:46:48 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-02 12:46:48 +0000
commitb5ea630dfd1a0d3e5c08d8959158608dd213d9aa (patch)
tree414ded0ca2d2732345c4d423b8f3cd326d9097e8 /test/OpenMP/taskloop_codegen.cpp
parent4bc3002fe03f32a9d85720bece65eeda40c75742 (diff)
Notes
Diffstat (limited to 'test/OpenMP/taskloop_codegen.cpp')
-rw-r--r--test/OpenMP/taskloop_codegen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/OpenMP/taskloop_codegen.cpp b/test/OpenMP/taskloop_codegen.cpp
index 8de52023f33d..94cf5365d872 100644
--- a/test/OpenMP/taskloop_codegen.cpp
+++ b/test/OpenMP/taskloop_codegen.cpp
@@ -8,6 +8,10 @@
// CHECK-LABEL: @main
int main(int argc, char **argv) {
// CHECK: [[GTID:%.+]] = call i32 @__kmpc_global_thread_num(%ident_t* [[DEFLOC:@.+]])
+// CHECK: call i8* @__kmpc_omp_task_alloc(%ident_t* [[DEFLOC]], i32 [[GTID]],
+// CHECK: call i32 @__kmpc_omp_task(%ident_t* [[DEFLOC]], i32 [[GTID]],
+#pragma omp task
+ ;
// CHECK: call void @__kmpc_taskgroup(%ident_t* [[DEFLOC]], i32 [[GTID]])
// CHECK: [[TASKV:%.+]] = call i8* @__kmpc_omp_task_alloc(%ident_t* [[DEFLOC]], i32 [[GTID]], i32 33, i64 80, i64 1, i32 (i32, i8*)* bitcast (i32 (i32, [[TDP_TY:%.+]]*)* [[TASK1:@.+]] to i32 (i32, i8*)*))
// CHECK: [[TASK:%.+]] = bitcast i8* [[TASKV]] to [[TDP_TY]]*