summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/flush_codegen.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-02-24 12:55:09 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-02-24 12:55:09 +0000
commitd76df6d0ff1c52592cbcc7428d9154bb19a9b812 (patch)
tree0fa63493bd3ca981877c2fb8ac09eec27da5284c /clang/test/OpenMP/flush_codegen.cpp
parentf6d58a2a1faf4957479fc85b1d72447d9c261ff7 (diff)
downloadbcm5719-llvm-d76df6d0ff1c52592cbcc7428d9154bb19a9b812.tar.gz
bcm5719-llvm-d76df6d0ff1c52592cbcc7428d9154bb19a9b812.zip
[OPENMP] Update codegen for 'omp flush' directive.
__kmpc_omp_flush() runtime library now has only one argument and is not a vararg anymore. This update makes the codegen compatible with these changes. llvm-svn: 230331
Diffstat (limited to 'clang/test/OpenMP/flush_codegen.cpp')
-rw-r--r--clang/test/OpenMP/flush_codegen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/OpenMP/flush_codegen.cpp b/clang/test/OpenMP/flush_codegen.cpp
index eb9c721e350..7dc58f47fb3 100644
--- a/clang/test/OpenMP/flush_codegen.cpp
+++ b/clang/test/OpenMP/flush_codegen.cpp
@@ -19,16 +19,16 @@ int main() {
static int a;
#pragma omp flush
#pragma omp flush(a)
- // CHECK: call void (%{{.+}}*, ...)* @__kmpc_flush(%{{.+}}* {{(@|%).+}}, i32 0)
- // CHECK: call void (%{{.+}}*, ...)* @__kmpc_flush(%{{.+}}* {{(@|%).+}}, i32 0)
+ // CHECK: call void @__kmpc_flush(%{{.+}}* {{(@|%).+}})
+ // CHECK: call void @__kmpc_flush(%{{.+}}* {{(@|%).+}})
return tmain(a);
// CHECK: call {{.*}} [[TMAIN:@.+]](
// CHECK: ret
}
// CHECK: [[TMAIN]]
-// CHECK: call void (%{{.+}}*, ...)* @__kmpc_flush(%{{.+}}* {{(@|%).+}}, i32 0)
-// CHECK: call void (%{{.+}}*, ...)* @__kmpc_flush(%{{.+}}* {{(@|%).+}}, i32 0)
+// CHECK: call void @__kmpc_flush(%{{.+}}* {{(@|%).+}})
+// CHECK: call void @__kmpc_flush(%{{.+}}* {{(@|%).+}})
// CHECK: ret
#endif
OpenPOWER on IntegriCloud