forked from OSchip/llvm-project
[NFC][Flang] Add colon to CHECK-LABEL to exercise the check
Reviewed By: clementval Differential Revision: https://reviews.llvm.org/D119995
This commit is contained in:
parent
0e219af475
commit
e217ebcc96
|
@ -1,6 +1,6 @@
|
||||||
! RUN: bbc %s -emit-fir --canonicalize -o - | FileCheck %s
|
! RUN: bbc %s -emit-fir --canonicalize -o - | FileCheck %s
|
||||||
|
|
||||||
! CHECK-LABEL stop_test
|
! CHECK-LABEL: stop_test
|
||||||
subroutine stop_test()
|
subroutine stop_test()
|
||||||
! CHECK-DAG: %[[c0:.*]] = arith.constant 0 : i32
|
! CHECK-DAG: %[[c0:.*]] = arith.constant 0 : i32
|
||||||
! CHECK-DAG: %[[false:.*]] = arith.constant false
|
! CHECK-DAG: %[[false:.*]] = arith.constant false
|
||||||
|
@ -10,7 +10,7 @@ subroutine stop_test()
|
||||||
end subroutine
|
end subroutine
|
||||||
|
|
||||||
|
|
||||||
! CHECK-LABEL stop_error
|
! CHECK-LABEL: stop_error
|
||||||
subroutine stop_error()
|
subroutine stop_error()
|
||||||
error stop
|
error stop
|
||||||
! CHECK-DAG: %[[c0:.*]] = arith.constant 0 : i32
|
! CHECK-DAG: %[[c0:.*]] = arith.constant 0 : i32
|
||||||
|
@ -20,7 +20,7 @@ subroutine stop_error()
|
||||||
! CHECK-NEXT: fir.unreachable
|
! CHECK-NEXT: fir.unreachable
|
||||||
end subroutine
|
end subroutine
|
||||||
|
|
||||||
! CHECK-LABEL stop_code
|
! CHECK-LABEL: stop_code
|
||||||
subroutine stop_code()
|
subroutine stop_code()
|
||||||
stop 42
|
stop 42
|
||||||
! CHECK-DAG: %[[c42:.*]] = arith.constant 42 : i32
|
! CHECK-DAG: %[[c42:.*]] = arith.constant 42 : i32
|
||||||
|
@ -29,7 +29,7 @@ subroutine stop_code()
|
||||||
! CHECK-NEXT: fir.unreachable
|
! CHECK-NEXT: fir.unreachable
|
||||||
end subroutine
|
end subroutine
|
||||||
|
|
||||||
! CHECK-LABEL stop_quiet_constant
|
! CHECK-LABEL: stop_quiet_constant
|
||||||
subroutine stop_quiet_constant()
|
subroutine stop_quiet_constant()
|
||||||
stop, quiet = .true.
|
stop, quiet = .true.
|
||||||
! CHECK-DAG: %[[true:.*]] = arith.constant true
|
! CHECK-DAG: %[[true:.*]] = arith.constant true
|
||||||
|
@ -39,7 +39,7 @@ subroutine stop_quiet_constant()
|
||||||
! CHECK-NEXT: fir.unreachable
|
! CHECK-NEXT: fir.unreachable
|
||||||
end subroutine
|
end subroutine
|
||||||
|
|
||||||
! CHECK-LABEL stop_quiet
|
! CHECK-LABEL: stop_quiet
|
||||||
subroutine stop_quiet()
|
subroutine stop_quiet()
|
||||||
logical :: b
|
logical :: b
|
||||||
stop, quiet = b
|
stop, quiet = b
|
||||||
|
@ -52,7 +52,7 @@ subroutine stop_quiet()
|
||||||
! CHECK-NEXT: fir.unreachable
|
! CHECK-NEXT: fir.unreachable
|
||||||
end subroutine
|
end subroutine
|
||||||
|
|
||||||
! CHECK-LABEL stop_char_lit
|
! CHECK-LABEL: stop_char_lit
|
||||||
subroutine stop_char_lit
|
subroutine stop_char_lit
|
||||||
! CHECK-DAG: %[[false:.*]] = arith.constant false
|
! CHECK-DAG: %[[false:.*]] = arith.constant false
|
||||||
! CHECK-DAG: %[[five:.*]] = arith.constant 5 : index
|
! CHECK-DAG: %[[five:.*]] = arith.constant 5 : index
|
||||||
|
|
Loading…
Reference in New Issue