Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions flang/test/Lower/HLFIR/goto-do-body.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ subroutine sub1()
implicit none
integer :: i
external foo
! CHECK: %[[C2:.*]] = arith.constant 2 : i32
! CHECK: %[[C0:.*]] = arith.constant 0 : i32
! CHECK: %[[C1:.*]] = arith.constant 1 : i32
! CHECK-DAG: %[[C2:.*]] = arith.constant 2 : i32
! CHECK-DAG: %[[C0:.*]] = arith.constant 0 : i32
! CHECK-DAG: %[[C1:.*]] = arith.constant 1 : i32
! CHECK: %[[TRIP:.*]] = fir.alloca i32
! CHECK: %[[I_REF:.*]] = fir.alloca i32 {bindc_name = "i", {{.*}}}
! CHECK: %[[I:.*]]:2 = hlfir.declare %[[I_REF]] {uniq_name = "_QFsub1Ei"} : (!fir.ref<i32>) -> (!fir.ref<i32>, !fir.ref<i32>)
Expand Down
8 changes: 4 additions & 4 deletions flang/test/Lower/volatile3.f90
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ subroutine sub_select_rank(arr)

! CHECK-LABEL: func.func private @_QFPsub_select_rank(
! CHECK-SAME: %[[ARG0:.*]]: !fir.box<!fir.array<*:i32>> {fir.bindc_name = "arr"}) {{.*}} {
! CHECK: %[[CONSTANT_0:.*]] = arith.constant 1 : index
! CHECK: %[[CONSTANT_1:.*]] = arith.constant 5 : i32
! CHECK: %[[CONSTANT_2:.*]] = arith.constant 4 : i8
! CHECK: %[[CONSTANT_3:.*]] = arith.constant 1 : i8
! CHECK-DAG: %[[CONSTANT_0:.*]] = arith.constant 1 : index
! CHECK-DAG: %[[CONSTANT_1:.*]] = arith.constant 5 : i32
! CHECK-DAG: %[[CONSTANT_2:.*]] = arith.constant 4 : i8
! CHECK-DAG: %[[CONSTANT_3:.*]] = arith.constant 1 : i8
! CHECK: %[[DUMMY_SCOPE_0:.*]] = fir.dummy_scope : !fir.dscope
! CHECK: %[[VOLATILE_CAST_0:.*]] = fir.volatile_cast %[[ARG0]] : (!fir.box<!fir.array<*:i32>>) -> !fir.box<!fir.array<*:i32>, volatile>
! CHECK: %[[DECLARE_0:.*]]:2 = hlfir.declare %[[VOLATILE_CAST_0]] dummy_scope %[[DUMMY_SCOPE_0]] arg 1 {fortran_attrs = #fir.var_attrs<volatile>, uniq_name = "_QFFsub_select_rankEarr"} : (!fir.box<!fir.array<*:i32>, volatile>, !fir.dscope) -> (!fir.box<!fir.array<*:i32>, volatile>, !fir.box<!fir.array<*:i32>, volatile>)
Expand Down