[flang-commits] [flang] e217ebc - [NFC][Flang] Add colon to CHECK-LABEL to exercise the check

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Thu Feb 17 14:01:31 PST 2022


Author: Kiran Chandramohan
Date: 2022-02-17T22:01:16Z
New Revision: e217ebcc961b75f78e7647b9b93b928c572f1338

URL: https://github.com/llvm/llvm-project/commit/e217ebcc961b75f78e7647b9b93b928c572f1338
DIFF: https://github.com/llvm/llvm-project/commit/e217ebcc961b75f78e7647b9b93b928c572f1338.diff

LOG: [NFC][Flang] Add colon to CHECK-LABEL to exercise the check

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D119995

Added: 
    

Modified: 
    flang/test/Lower/stop-statement.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/stop-statement.f90 b/flang/test/Lower/stop-statement.f90
index 8b8935fc0bfdf..555750854187c 100644
--- a/flang/test/Lower/stop-statement.f90
+++ b/flang/test/Lower/stop-statement.f90
@@ -1,6 +1,6 @@
 ! RUN: bbc %s -emit-fir --canonicalize -o - | FileCheck %s
 
-! CHECK-LABEL stop_test
+! CHECK-LABEL: stop_test
 subroutine stop_test()
  ! CHECK-DAG: %[[c0:.*]] = arith.constant 0 : i32
  ! CHECK-DAG: %[[false:.*]] = arith.constant false
@@ -10,7 +10,7 @@ subroutine stop_test()
 end subroutine 
 
 
-! CHECK-LABEL stop_error
+! CHECK-LABEL: stop_error
 subroutine stop_error()
  error stop
  ! CHECK-DAG: %[[c0:.*]] = arith.constant 0 : i32
@@ -20,7 +20,7 @@ subroutine stop_error()
  ! CHECK-NEXT: fir.unreachable
 end subroutine
 
-! CHECK-LABEL stop_code
+! CHECK-LABEL: stop_code
 subroutine stop_code()
   stop 42
  ! CHECK-DAG: %[[c42:.*]] = arith.constant 42 : i32
@@ -29,7 +29,7 @@ subroutine stop_code()
  ! CHECK-NEXT: fir.unreachable
 end subroutine
 
-! CHECK-LABEL stop_quiet_constant
+! CHECK-LABEL: stop_quiet_constant
 subroutine stop_quiet_constant()
   stop, quiet = .true.
  ! CHECK-DAG: %[[true:.*]] = arith.constant true
@@ -39,7 +39,7 @@ subroutine stop_quiet_constant()
  ! CHECK-NEXT: fir.unreachable
 end subroutine
 
-! CHECK-LABEL stop_quiet
+! CHECK-LABEL: stop_quiet
 subroutine stop_quiet()
   logical :: b
   stop, quiet = b
@@ -52,7 +52,7 @@ subroutine stop_quiet()
  ! CHECK-NEXT: fir.unreachable
 end subroutine
 
-! CHECK-LABEL stop_char_lit
+! CHECK-LABEL: stop_char_lit
 subroutine stop_char_lit
   ! CHECK-DAG: %[[false:.*]] = arith.constant false
   ! CHECK-DAG: %[[five:.*]] = arith.constant 5 : index


        


More information about the flang-commits mailing list