[flang-commits] [flang] [mlir] [MLIR][OpenMP] Changes to function-filtering pass (PR #71850)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Nov 13 03:28:31 PST 2023


================
@@ -0,0 +1,61 @@
+!RUN: %flang_fc1 -emit-llvm -fopenmp %s -o - | FileCheck %s --check-prefixes HOST,ALL
----------------
kiranchandramohan wrote:

The right way to do LIT tests is to test a single stage at a time. You can use the following flow as guidance.
1. For tests lowering to HLFIR + FIR + OpenMP from source use flang/test/Lower/OpenMP.
2. For tests converting from FIR + OpenMP to LLVM dialect use flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
3. For tests converting form LLVM + OpenMP or core-dialect+OpenMP to LLVM + OpenMP use mlir/test/Conversion/OpenMPToLLVM/
4. For test converting from LLVM + OpenMP to LLVM IR use mlir/test/Target/LLVMIR/openmp-*



https://github.com/llvm/llvm-project/pull/71850


More information about the flang-commits mailing list