summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-12-15 11:38:29 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-12-15 11:38:29 +0000
commitd60e2a3ebfe8a2e40e7b396ac5eba5ac8c53a62c (patch)
treeb01abc2f8cafb3b8fc2f481a7f7b8db5c8ee9cee
parentfc57d1601d034846f4583b468d44668fb7f652d5 (diff)
downloadbcm5719-llvm-d60e2a3ebfe8a2e40e7b396ac5eba5ac8c53a62c.tar.gz
bcm5719-llvm-d60e2a3ebfe8a2e40e7b396ac5eba5ac8c53a62c.zip
[OPENMP 4.5] Fix test compatibility with 32 bit mode.
llvm-svn: 255640
-rw-r--r--clang/test/OpenMP/critical_codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/critical_codegen.cpp b/clang/test/OpenMP/critical_codegen.cpp
index 1f6e368eb71..dc2c3fc7595 100644
--- a/clang/test/OpenMP/critical_codegen.cpp
+++ b/clang/test/OpenMP/critical_codegen.cpp
@@ -33,7 +33,7 @@ int main() {
// CHECK: call {{.*}}void @__kmpc_end_critical([[IDENT_T_TY]]* [[DEFAULT_LOC]], i32 [[GTID]], [8 x i32]* [[THE_NAME_LOCK]])
#pragma omp critical(the_name)
foo();
-// CHECK: call {{.*}}void @__kmpc_critical_with_hint([[IDENT_T_TY]]* [[DEFAULT_LOC]], i32 [[GTID]], [8 x i32]* [[THE_NAME_LOCK1]], i64 23)
+// CHECK: call {{.*}}void @__kmpc_critical_with_hint([[IDENT_T_TY]]* [[DEFAULT_LOC]], i32 [[GTID]], [8 x i32]* [[THE_NAME_LOCK1]], i{{64|32}} 23)
// CHECK-NEXT: invoke {{.*}}void [[FOO]]()
// CHECK: call {{.*}}void @__kmpc_end_critical([[IDENT_T_TY]]* [[DEFAULT_LOC]], i32 [[GTID]], [8 x i32]* [[THE_NAME_LOCK1]])
#pragma omp critical(the_name1) hint(23)
OpenPOWER on IntegriCloud