Skip to content

Commit 091e592

Browse files
committed
Fixed typo in the test.
1 parent 0542e16 commit 091e592

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flang/test/HLFIR/simplify-hlfir-intrinsics-sum.fir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ func.func @sum_box_unknown_extent2(%arg0: !fir.box<!fir.array<?x3xcomplex<f64>>>
142142
// CHECK: }
143143

144144
// expr with unknown extent
145-
func.func @sum_expr_unkwnonw_extent1(%arg0: !hlfir.expr<?x3xf32>) {
145+
func.func @sum_expr_unknown_extent1(%arg0: !hlfir.expr<?x3xf32>) {
146146
%cst = arith.constant 1 : i32
147147
%res = hlfir.sum %arg0 dim %cst : (!hlfir.expr<?x3xf32>, i32) -> !hlfir.expr<3xf32>
148148
return
149149
}
150-
// CHECK-LABEL: func.func @sum_expr_unkwnonw_extent1(
150+
// CHECK-LABEL: func.func @sum_expr_unknown_extent1(
151151
// CHECK-SAME: %[[VAL_0:.*]]: !hlfir.expr<?x3xf32>) {
152152
// CHECK: %[[VAL_1:.*]] = arith.constant 1 : i32
153153
// CHECK: %[[VAL_2:.*]] = hlfir.shape_of %[[VAL_0]] : (!hlfir.expr<?x3xf32>) -> !fir.shape<2>
@@ -168,12 +168,12 @@ func.func @sum_expr_unkwnonw_extent1(%arg0: !hlfir.expr<?x3xf32>) {
168168
// CHECK: return
169169
// CHECK: }
170170

171-
func.func @sum_expr_unkwnonw_extent2(%arg0: !hlfir.expr<?x3xf32>) {
171+
func.func @sum_expr_unknown_extent2(%arg0: !hlfir.expr<?x3xf32>) {
172172
%cst = arith.constant 2 : i32
173173
%res = hlfir.sum %arg0 dim %cst : (!hlfir.expr<?x3xf32>, i32) -> !hlfir.expr<?xf32>
174174
return
175175
}
176-
// CHECK-LABEL: func.func @sum_expr_unkwnonw_extent2(
176+
// CHECK-LABEL: func.func @sum_expr_unknown_extent2(
177177
// CHECK-SAME: %[[VAL_0:.*]]: !hlfir.expr<?x3xf32>) {
178178
// CHECK: %[[VAL_1:.*]] = arith.constant 2 : i32
179179
// CHECK: %[[VAL_2:.*]] = hlfir.shape_of %[[VAL_0]] : (!hlfir.expr<?x3xf32>) -> !fir.shape<2>

0 commit comments

Comments
 (0)