Skip to content

Commit 3639b67

Browse files
committed
Fix bugs from generate check script.
1 parent ba0550d commit 3639b67

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

flang/test/Lower/array-expression-subscript.f90

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
! RUN: bbc --emit-fir %s -o - | FileCheck %s
22

33
! CHECK-LABEL: func @_QPtest1a(
4-
! CHECK-SAME: %[[VAL_0:.*]]: !fir.ref<!fir.array<10xi32>>,
5-
! CHECK-SAME: %[[VAL_1:.*]]: !fir.ref<!fir.array<10xi32>>,
6-
! CHECK-SAME: %[[VAL_2:.*]]: !fir.ref<!fir.array<20xi32>>) {
4+
! CHECK-SAME: %[[VAL_0:.*]]: !fir.ref<!fir.array<10xi32>>, %[[VAL_1:.*]]: !fir.ref<!fir.array<10xi32>>, %[[VAL_2:.*]]: !fir.ref<!fir.array<20xi32>>) {
75
! CHECK: %[[VAL_3:.*]] = constant 10 : index
86
! CHECK: %[[VAL_4:.*]] = constant 10 : index
97
! CHECK: %[[VAL_5:.*]] = constant 20 : index
@@ -51,9 +49,7 @@ subroutine test1a(a,b,c)
5149
end subroutine test1a
5250

5351
! CHECK-LABEL: func @_QPtest1b(
54-
! CHECK-SAME: %[[VAL_0:.*]]: !fir.ref<!fir.array<10xi32>>,
55-
! CHECK-SAME: %[[VAL_1:.*]]: !fir.ref<!fir.array<10xi32>>,
56-
! CHECK-SAME: %[[VAL_2:.*]]: !fir.ref<!fir.array<20xi32>>) {
52+
! CHECK-SAME: %[[VAL_0:.*]]: !fir.ref<!fir.array<10xi32>>, %[[VAL_1:.*]]: !fir.ref<!fir.array<10xi32>>, %[[VAL_2:.*]]: !fir.ref<!fir.array<20xi32>>) {
5753
! CHECK: %[[VAL_3:.*]] = constant 10 : index
5854
! CHECK: %[[VAL_4:.*]] = constant 10 : index
5955
! CHECK: %[[VAL_5:.*]] = constant 20 : index

0 commit comments

Comments
 (0)