Skip to content

Commit 93fd05c

Browse files
committed
[Flang][OpenMP] Attempt to make map-types-and-sizes.f90 test more agnostic to other architectures
This test was updated by me recently, however, the newly added CHECK-LABEL checks are breaking one of the RHEL PowerPC buildbots as the functions appear to be generated slightly different (in this case added attributes I think).
1 parent 3746294 commit 93fd05c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/test/Integration/OpenMP/map-types-and-sizes.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ subroutine mapType_char
9090
!$omp end target
9191
end subroutine mapType_char
9292

93-
!CHECK-LABEL: define void @maptype_ptr_explicit_() {
93+
!CHECK-LABEL: define {{.*}} @{{.*}}maptype_ptr_explicit_{{.*}}
9494
!CHECK: %[[ALLOCA:.*]] = alloca { ptr, i64, i32, i8, i8, i8, i8 }, i64 1, align 8
9595
!CHECK: %[[ALLOCA_GEP:.*]] = getelementptr { ptr, i64, i32, i8, i8, i8, i8 }, ptr %[[ALLOCA]], i32 1
9696
!CHECK: %[[ALLOCA_GEP_INT:.*]] = ptrtoint ptr %[[ALLOCA_GEP]] to i64
@@ -101,7 +101,7 @@ end subroutine mapType_char
101101
!CHECK: store i64 %[[DIV]], ptr %[[OFFLOAD_SIZE_ARR]], align 8
102102

103103

104-
!CHECK-LABEL: define void @maptype_allocatable_explicit_() {
104+
!CHECK-LABEL: define {{.*}} @{{.*}}maptype_allocatable_explicit_{{.*}}
105105
!CHECK: %[[ALLOCA:.*]] = alloca { ptr, i64, i32, i8, i8, i8, i8 }, i64 1, align 8
106106
!CHECK: %[[ALLOCA_GEP:.*]] = getelementptr { ptr, i64, i32, i8, i8, i8, i8 }, ptr %[[ALLOCA]], i32 1
107107
!CHECK: %[[ALLOCA_GEP_INT:.*]] = ptrtoint ptr %[[ALLOCA_GEP]] to i64

0 commit comments

Comments
 (0)