Skip to content
Snippets Groups Projects
Commit 9003ae39 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] Fixed test for '#pragma omp parallel for simd'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240009 91177308-0d34-0410-b5e6-96231b3b80d8
parent c4053390
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ void simple(float *a, float *b, float *c, float *d) { ...@@ -111,7 +111,7 @@ void simple(float *a, float *b, float *c, float *d) {
// Update linear vars after loop, as the loop was operating on a private version. // Update linear vars after loop, as the loop was operating on a private version.
// CHECK: [[LIN0_2:%.+]] = load i64, i64* [[LIN0]] // CHECK: [[LIN0_2:%.+]] = load i64, i64* [[LIN0]]
// CHECK-NEXT: [[LIN_ADD2:%.+]] = add nsw i64 [[LIN0_2]], 27 // CHECK-NEXT: [[LIN_ADD2:%.+]] = add nsw i64 [[LIN0_2]], 27
// CHECK-NEXT: store i64 [[LIN_ADD2]], i64* [[K_VAR]] // CHECK-NEXT: store i64 [[LIN_ADD2]], i64* %{{.+}}
// CHECK: call i32 @__kmpc_cancel_barrier(%ident_t* {{.+}}, i32 %{{.+}}) // CHECK: call i32 @__kmpc_cancel_barrier(%ident_t* {{.+}}, i32 %{{.+}})
int lin = 12; int lin = 12;
......
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