|
4 | 4 | ! CHECK-SAME: %[[VAL_0:.*]]: !fir.boxchar<1>,
|
5 | 5 | ! CHECK-SAME: %[[VAL_1:.*]]: !fir.boxchar<1>) {
|
6 | 6 | subroutine issue(c1, c2)
|
7 |
| - ! CHECK: %[[VAL_2:.*]] = arith.constant false |
8 |
| - ! CHECK: %[[VAL_3:.*]] = arith.constant 32 : i8 |
9 |
| - ! CHECK: %[[VAL_4:.*]] = arith.constant 3 : index |
10 |
| - ! CHECK: %[[VAL_5:.*]] = arith.constant 4 : index |
11 |
| - ! CHECK: %[[VAL_6:.*]] = arith.constant 0 : index |
12 |
| - ! CHECK: %[[VAL_7:.*]] = arith.constant 1 : index |
| 7 | + ! CHECK-DAG: %[[VAL_2:.*]] = arith.constant false |
| 8 | + ! CHECK-DAG: %[[VAL_3:.*]] = arith.constant 32 : i8 |
| 9 | + ! CHECK-DAG: %[[VAL_4:.*]] = arith.constant 3 : index |
| 10 | + ! CHECK-DAG: %[[VAL_5:.*]] = arith.constant 4 : index |
| 11 | + ! CHECK-DAG: %[[VAL_6:.*]] = arith.constant 0 : index |
| 12 | + ! CHECK-DAG: %[[VAL_7:.*]] = arith.constant 1 : index |
13 | 13 | ! CHECK: %[[VAL_8:.*]]:2 = fir.unboxchar %[[VAL_0]] : (!fir.boxchar<1>) -> (!fir.ref<!fir.char<1,?>>, index)
|
14 | 14 | ! CHECK: %[[VAL_9:.*]] = fir.convert %[[VAL_8]]#0 : (!fir.ref<!fir.char<1,?>>) -> !fir.ref<!fir.array<3x!fir.char<1,4>>>
|
15 | 15 | ! CHECK: %[[VAL_10:.*]]:2 = fir.unboxchar %[[VAL_1]] : (!fir.boxchar<1>) -> (!fir.ref<!fir.char<1,?>>, index)
|
@@ -55,9 +55,9 @@ subroutine issue(c1, c2)
|
55 | 55 |
|
56 | 56 | ! CHECK-LABEL: func @_QQmain() {
|
57 | 57 | program p
|
58 |
| - ! CHECK: %[[VAL_0:.*]] = arith.constant 4 : index |
59 |
| - ! CHECK: %[[VAL_1:.*]] = arith.constant 3 : index |
60 |
| - ! CHECK: %[[VAL_2:.*]] = arith.constant -1 : i32 |
| 58 | + ! CHECK-DAG: %[[VAL_0:.*]] = arith.constant 4 : index |
| 59 | + ! CHECK-DAG: %[[VAL_1:.*]] = arith.constant 3 : index |
| 60 | + ! CHECK-DAG: %[[VAL_2:.*]] = arith.constant -1 : i32 |
61 | 61 | ! CHECK: %[[VAL_5:.*]] = fir.address_of(@_QEc1) : !fir.ref<!fir.array<3x!fir.char<1,4>>>
|
62 | 62 | ! CHECK: %[[VAL_6:.*]] = fir.address_of(@_QEc2) : !fir.ref<!fir.array<3x!fir.char<1,4>>>
|
63 | 63 | ! CHECK: %[[VAL_7:.*]] = fir.address_of(@_QQcl.{{.*}}) : !fir.ref<!fir.char<1,
|
@@ -91,12 +91,12 @@ end program p
|
91 | 91 |
|
92 | 92 | ! CHECK-LABEL: func @_QPcharlit() {
|
93 | 93 | subroutine charlit
|
94 |
| - ! CHECK: %[[VAL_0:.*]] = arith.constant -1 : i32 |
95 |
| - ! CHECK: %[[VAL_3:.*]] = arith.constant 3 : index |
96 |
| - ! CHECK: %[[VAL_4:.*]] = arith.constant false |
97 |
| - ! CHECK: %[[VAL_5:.*]] = arith.constant 4 : index |
98 |
| - ! CHECK: %[[VAL_6:.*]] = arith.constant 0 : index |
99 |
| - ! CHECK: %[[VAL_7:.*]] = arith.constant 1 : index |
| 94 | + ! CHECK-DAG: %[[VAL_0:.*]] = arith.constant -1 : i32 |
| 95 | + ! CHECK-DAG: %[[VAL_3:.*]] = arith.constant 3 : index |
| 96 | + ! CHECK-DAG: %[[VAL_4:.*]] = arith.constant false |
| 97 | + ! CHECK-DAG: %[[VAL_5:.*]] = arith.constant 4 : index |
| 98 | + ! CHECK-DAG: %[[VAL_6:.*]] = arith.constant 0 : index |
| 99 | + ! CHECK-DAG: %[[VAL_7:.*]] = arith.constant 1 : index |
100 | 100 | ! CHECK: %[[VAL_8:.*]] = fir.address_of(@_QQcl.{{.*}}) : !fir.ref<!fir.char<1,
|
101 | 101 | ! CHECK: %[[VAL_9:.*]] = fir.convert %[[VAL_8]] : (!fir.ref<!fir.char<1,{{.*}}>>) -> !fir.ref<i8>
|
102 | 102 | ! CHECK: %[[VAL_10:.*]] = fir.call @_FortranAioBeginExternalListOutput(%[[VAL_0]], %[[VAL_9]], %{{.*}}) : (i32, !fir.ref<i8>, i32) -> !fir.ref<i8>
|
|
0 commit comments