r301417 - [OPENMP] Fix failing test.
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 26 08:30:36 PDT 2017
Author: abataev
Date: Wed Apr 26 10:30:36 2017
New Revision: 301417
URL: http://llvm.org/viewvc/llvm-project?rev=301417&view=rev
Log:
[OPENMP] Fix failing test.
Modified:
cfe/trunk/test/OpenMP/capturing_in_templates.cpp
Modified: cfe/trunk/test/OpenMP/capturing_in_templates.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/capturing_in_templates.cpp?rev=301417&r1=301416&r2=301417&view=diff
==============================================================================
--- cfe/trunk/test/OpenMP/capturing_in_templates.cpp (original)
+++ cfe/trunk/test/OpenMP/capturing_in_templates.cpp Wed Apr 26 10:30:36 2017
@@ -15,7 +15,7 @@ pair<T1, T2> make_pair(T1 &&t1, T2 &&t2)
// CHECK-LABEL: @main
int main(int argc, char **argv) {
-// CHECK: call i32 @__tgt_target(i32 -1, i8* [[OFFLOAD:@[^.]+]].region_id, i32 0, i8** null, i8** null, i64* null, i32* null)
+// CHECK: call i32 @__tgt_target(i32 -1, i8* @{{.+}}.region_id, i32 0, i8** null, i8** null, i64* null, i32* null)
#pragma omp target
{
for (int i = 0; i < 64; ++i) {
@@ -27,5 +27,4 @@ int main(int argc, char **argv) {
return 0;
}
-// CHECK: define internal void [[OFFLOAD]](
// CHECK: call {{.+}} @{{.*}}make_pair
More information about the cfe-commits
mailing list