diff options
author | Andrew Gozillon <Andrew.Gozillon@amd.com> | 2024-02-05 13:11:21 -0600 |
---|---|---|
committer | Andrew Gozillon <Andrew.Gozillon@amd.com> | 2024-02-05 13:11:28 -0600 |
commit | 93fd05c0891caa8c68cb37b64217467a0ef60412 (patch) | |
tree | 910a54b845f253033c11ee825bb666f0e6909143 | |
parent | 37462944513731af2743d95e5dd40bdbeefd6460 (diff) | |
download | llvm-93fd05c0891caa8c68cb37b64217467a0ef60412.zip llvm-93fd05c0891caa8c68cb37b64217467a0ef60412.tar.gz llvm-93fd05c0891caa8c68cb37b64217467a0ef60412.tar.bz2 |
[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).
-rw-r--r-- | flang/test/Integration/OpenMP/map-types-and-sizes.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flang/test/Integration/OpenMP/map-types-and-sizes.f90 b/flang/test/Integration/OpenMP/map-types-and-sizes.f90 index 7c43830..283ac22 100644 --- a/flang/test/Integration/OpenMP/map-types-and-sizes.f90 +++ b/flang/test/Integration/OpenMP/map-types-and-sizes.f90 @@ -90,7 +90,7 @@ subroutine mapType_char !$omp end target end subroutine mapType_char -!CHECK-LABEL: define void @maptype_ptr_explicit_() { +!CHECK-LABEL: define {{.*}} @{{.*}}maptype_ptr_explicit_{{.*}} !CHECK: %[[ALLOCA:.*]] = alloca { ptr, i64, i32, i8, i8, i8, i8 }, i64 1, align 8 !CHECK: %[[ALLOCA_GEP:.*]] = getelementptr { ptr, i64, i32, i8, i8, i8, i8 }, ptr %[[ALLOCA]], i32 1 !CHECK: %[[ALLOCA_GEP_INT:.*]] = ptrtoint ptr %[[ALLOCA_GEP]] to i64 @@ -101,7 +101,7 @@ end subroutine mapType_char !CHECK: store i64 %[[DIV]], ptr %[[OFFLOAD_SIZE_ARR]], align 8 -!CHECK-LABEL: define void @maptype_allocatable_explicit_() { +!CHECK-LABEL: define {{.*}} @{{.*}}maptype_allocatable_explicit_{{.*}} !CHECK: %[[ALLOCA:.*]] = alloca { ptr, i64, i32, i8, i8, i8, i8 }, i64 1, align 8 !CHECK: %[[ALLOCA_GEP:.*]] = getelementptr { ptr, i64, i32, i8, i8, i8, i8 }, ptr %[[ALLOCA]], i32 1 !CHECK: %[[ALLOCA_GEP_INT:.*]] = ptrtoint ptr %[[ALLOCA_GEP]] to i64 |