[flang-commits] [flang] 89e0557 - [flang][OpenMP] Fix comments in test file, NFC

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Mon May 6 15:12:23 PDT 2024


Author: Krzysztof Parzyszek
Date: 2024-05-06T17:09:45-05:00
New Revision: 89e0557e48155d7eaab2a25426f6dfc9493f2474

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

LOG: [flang][OpenMP] Fix comments in test file, NFC

Address review comments for PR91214.

Added: 
    

Modified: 
    flang/test/Lower/OpenMP/copyin-order.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/OpenMP/copyin-order.f90 b/flang/test/Lower/OpenMP/copyin-order.f90
index 9dcb6e6e54d088..0620d89ffb6789 100644
--- a/flang/test/Lower/OpenMP/copyin-order.f90
+++ b/flang/test/Lower/OpenMP/copyin-order.f90
@@ -1,5 +1,7 @@
 !RUN: bbc -fopenmp -emit-hlfir -o - %s | FileCheck %s
 
+!https://github.com/llvm/llvm-project/issues/91205
+
 !CHECK: omp.parallel if(%{{[0-9]+}} : i1) {
 !CHECK:   %[[THP1:[0-9]+]] = omp.threadprivate %{{[0-9]+}}#1
 !CHECK:   %[[DCL1:[0-9]+]]:2 = hlfir.declare %[[THP1]] {uniq_name = "_QFcopyin_scalar_arrayEx1"}
@@ -14,14 +16,12 @@
 !CHECK:   omp.terminator
 !CHECK: }
 
-!https://github.com/llvm/llvm-project/issues/91205
-
 subroutine copyin_scalar_array()
   integer(kind=4), save :: x1
   integer(kind=8), save :: x2(10)
   !$omp threadprivate(x1, x2)
 
-  ! Have x1 appear before x2 in the AST node for the `parallel construct,
+  ! Have x1 appear before x2 in the AST node for the `parallel` construct,
   ! but at the same time have them in a 
diff erent order in `copyin`.
   !$omp parallel if (x1 .eq. x2(1)) copyin(x2, x1)
     call sub1(x1, x2)


        


More information about the flang-commits mailing list