[flang-commits] [flang] [Flang][HLFIR][OpenMP] Fix offloading tests broken by HLFIR (PR #69457)
via flang-commits
flang-commits at lists.llvm.org
Thu Oct 19 02:54:07 PDT 2023
================
@@ -1,9 +1,9 @@
-! RUN: %flang_fc1 -fopenmp -emit-llvm %s -o - | FileCheck --check-prefix=LLVM %s
-! RUN: %flang_fc1 -fopenmp -emit-mlir %s -o - | FileCheck --check-prefix=MLIR %s
-! RUN: %flang_fc1 -fopenmp -fopenmp-is-target-device -emit-llvm %s -o - | FileCheck --check-prefix=LLVM %s
-! RUN: %flang_fc1 -fopenmp -fopenmp-is-target-device -emit-mlir %s -o - | FileCheck --check-prefix=MLIR %s
-! RUN: bbc -fopenmp -emit-fir %s -o - | FileCheck --check-prefixes=MLIR-HOST,MLIR-ALL %s
-! RUN: bbc -fopenmp -fopenmp-is-target-device -emit-fir %s -o - | FileCheck --check-prefixes=MLIR-DEVICE,MLIR-ALL %s
+! RUN: %flang_fc1 -fopenmp -flang-experimental-hlfir -emit-llvm %s -o - | FileCheck --check-prefix=LLVM %s
----------------
agozillon wrote:
For some reason my mind just completely forgot seeing this when I wrote the comment! Juggling too many things at once....
It would be interesting to see if the current runtime tests in https://github.com/llvm/llvm-project/tree/main/openmp/libomptarget/test/offloading/fortran run with this patch in conjunction with this flag, more of an experiment than a blocker for this patch. These tests unfortunately don't get automatically ran at the moment (and it's a lot easier to run compile them and run them individually by hand, the setup is a little sporadic I've found so far)!
https://github.com/llvm/llvm-project/pull/69457
More information about the flang-commits
mailing list