[flang-commits] [flang] 3044eaf - [Flang][OpenMP] Use a label to avoid complexity of too many CHECK-DAGs in a test (#90190)
via flang-commits
flang-commits at lists.llvm.org
Mon Apr 29 07:47:21 PDT 2024
Author: Kiran Chandramohan
Date: 2024-04-29T15:47:17+01:00
New Revision: 3044eaf40932c23d668483c6557fa3877f979e62
URL: https://github.com/llvm/llvm-project/commit/3044eaf40932c23d668483c6557fa3877f979e62
DIFF: https://github.com/llvm/llvm-project/commit/3044eaf40932c23d668483c6557fa3877f979e62.diff
LOG: [Flang][OpenMP] Use a label to avoid complexity of too many CHECK-DAGs in a test (#90190)
This speeds up the test.
Added:
Modified:
flang/test/Lower/OpenMP/threadprivate-real-logical-complex-derivedtype.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/OpenMP/threadprivate-real-logical-complex-derivedtype.f90 b/flang/test/Lower/OpenMP/threadprivate-real-logical-complex-derivedtype.f90
index 55f806962a609f..0a249ff101a088 100644
--- a/flang/test/Lower/OpenMP/threadprivate-real-logical-complex-derivedtype.f90
+++ b/flang/test/Lower/OpenMP/threadprivate-real-logical-complex-derivedtype.f90
@@ -21,6 +21,7 @@ module test
!CHECK-DAG: fir.global @_QMtestEz : !fir.logical<4> {
contains
+!CHECK-LABEL: func.func @_QMtestPsub
subroutine sub()
!CHECK-DAG: %[[T:.*]] = fir.address_of(@_QMtestEt) : !fir.ref<!fir.type<_QMtestTmy_type{t_i:i32,t_arr:!fir.array<5xf32>}>>
!CHECK-DAG: %[[T_DECL:.*]]:2 = hlfir.declare %[[T]] {uniq_name = "_QMtestEt"} : (!fir.ref<!fir.type<_QMtestTmy_type{t_i:i32,t_arr:!fir.array<5xf32>}>>) -> (!fir.ref<!fir.type<_QMtestTmy_type{t_i:i32,t_arr:!fir.array<5xf32>}>>, !fir.ref<!fir.type<_QMtestTmy_type{t_i:i32,t_arr:!fir.array<5xf32>}>>)
More information about the flang-commits
mailing list