[flang-commits] [flang] a04ab7b - [flang][nfc] Fix test unneccesarily checking type layout (#138585)
via flang-commits
flang-commits at lists.llvm.org
Mon May 5 15:22:38 PDT 2025
Author: Asher Mancinelli
Date: 2025-05-05T15:22:34-07:00
New Revision: a04ab7b81f5f6cc2e00b30007d267b19b0095157
URL: https://github.com/llvm/llvm-project/commit/a04ab7b81f5f6cc2e00b30007d267b19b0095157
DIFF: https://github.com/llvm/llvm-project/commit/a04ab7b81f5f6cc2e00b30007d267b19b0095157.diff
LOG: [flang][nfc] Fix test unneccesarily checking type layout (#138585)
Test added in #138339 unneccesarily had CHECK lines with the type
layout, which fails on aix.
Added:
Modified:
flang/test/Lower/volatile-derived-type.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/volatile-derived-type.f90 b/flang/test/Lower/volatile-derived-type.f90
index edd77a9265530..963e4cf45a761 100644
--- a/flang/test/Lower/volatile-derived-type.f90
+++ b/flang/test/Lower/volatile-derived-type.f90
@@ -16,7 +16,7 @@ subroutine test(v)
! CHECK: %[[VAL_2:.*]] = arith.constant 2 : index
! CHECK: %[[VAL_3:.*]] = arith.constant 0 : index
! CHECK: %[[VAL_4:.*]] = fir.dummy_scope : !fir.dscope
-! CHECK: %[[VAL_5:.*]] = fir.address_of(@_QFE.b.t.e) : !fir.ref<!fir.array<2x1x!fir.type<_QM__fortran_type_infoTvalue{genre:i8,__padding0:!fir.array<7xi8>,value:i64}>>>
+! CHECK: %[[VAL_5:.*]] = fir.address_of(@_QFE.b.t.e) : !fir.ref<!fir.array<2x1x!fir.type<{{.+}}>>>
! CHECK: %[[VAL_6:.*]] = fir.shape_shift %[[VAL_3]], %[[VAL_2]], %[[VAL_3]], %[[VAL_1]] : (index, index, index, index) -> !fir.shapeshift<2>
! CHECK: %[[VAL_7:.*]]:2 = hlfir.declare %[[VAL_5]](%[[VAL_6]]) {fortran_attrs = #fir.var_attrs<target>, uniq_name = "_QFE.b.t.e"} :
! CHECK: %[[VAL_8:.*]] = fir.address_of(@_QFE.n.e) : !fir.ref<!fir.char<1>>
More information about the flang-commits
mailing list