Skip to content

Commit a04ab7b

Browse files
[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.
1 parent 3ceec26 commit a04ab7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Lower/volatile-derived-type.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ subroutine test(v)
1616
! CHECK: %[[VAL_2:.*]] = arith.constant 2 : index
1717
! CHECK: %[[VAL_3:.*]] = arith.constant 0 : index
1818
! CHECK: %[[VAL_4:.*]] = fir.dummy_scope : !fir.dscope
19-
! 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}>>>
19+
! CHECK: %[[VAL_5:.*]] = fir.address_of(@_QFE.b.t.e) : !fir.ref<!fir.array<2x1x!fir.type<{{.+}}>>>
2020
! CHECK: %[[VAL_6:.*]] = fir.shape_shift %[[VAL_3]], %[[VAL_2]], %[[VAL_3]], %[[VAL_1]] : (index, index, index, index) -> !fir.shapeshift<2>
2121
! CHECK: %[[VAL_7:.*]]:2 = hlfir.declare %[[VAL_5]](%[[VAL_6]]) {fortran_attrs = #fir.var_attrs<target>, uniq_name = "_QFE.b.t.e"} :
2222
! CHECK: %[[VAL_8:.*]] = fir.address_of(@_QFE.n.e) : !fir.ref<!fir.char<1>>

0 commit comments

Comments
 (0)