[flang-commits] [flang] b598715 - [flang][OpenMP] Fix `omp-declarative-allocate-align.f90` expectations (#122675)

via flang-commits flang-commits at lists.llvm.org
Mon Jan 13 02:27:27 PST 2025


Author: Kareem Ergawy
Date: 2025-01-13T11:27:23+01:00
New Revision: b5987157e86b3ef87b8ed95f737e0a016974c793

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

LOG: [flang][OpenMP] Fix `omp-declarative-allocate-align.f90` expectations (#122675)

The test was effectively a no-op since we used `//` instead of `!` for
`RUN` and `CHECK` lines. Also, we have to specify the proper OpenMP
version.

Added: 
    

Modified: 
    flang/test/Lower/OpenMP/Todo/omp-declarative-allocate-align.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/OpenMP/Todo/omp-declarative-allocate-align.f90 b/flang/test/Lower/OpenMP/Todo/omp-declarative-allocate-align.f90
index d0ed0cbb4c831d..8daf20e1ae400a 100644
--- a/flang/test/Lower/OpenMP/Todo/omp-declarative-allocate-align.f90
+++ b/flang/test/Lower/OpenMP/Todo/omp-declarative-allocate-align.f90
@@ -1,10 +1,10 @@
 ! This test checks lowering of OpenMP allocate Directive with align clause.
 
-// RUN: not flang -fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
+! RUN: not %flang_fc1 -emit-fir -fopenmp -fopenmp-version=51 %s 2>&1 | FileCheck %s
 
 program main
   integer :: x
 
-  // CHECK: not yet implemented: OpenMPDeclarativeAllocate
+  ! CHECK: not yet implemented: OpenMPDeclarativeAllocate
   !$omp allocate(x) align(32)
 end


        


More information about the flang-commits mailing list