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

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


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe217ebcc961b: [NFC][Flang] Add colon to CHECK-LABEL to exercise the check (authored by kiranchandramohan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119995/new/

https://reviews.llvm.org/D119995

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


Index: flang/test/Lower/stop-statement.f90
===================================================================
--- flang/test/Lower/stop-statement.f90
+++ 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 @@
 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 @@
  ! 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 @@
  ! 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 @@
  ! 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 @@
  ! 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119995.409785.patch
Type: text/x-patch
Size: 1525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220217/c044bca4/attachment.bin>


More information about the llvm-commits mailing list