[all-commits] [llvm/llvm-project] fb4bdf: [Flang][OpenMP] Run Flang-specific OpenMP MLIR pas...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Mon Sep 18 06:10:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb4bdf361feecfd0863c1553ec14ef9928027a24
      https://github.com/llvm/llvm-project/commit/fb4bdf361feecfd0863c1553ec14ef9928027a24
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Driver/omp-cse-region-boundary.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
    M flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
    M flang/test/Lower/OpenMP/function-filtering-2.f90
    M flang/test/Lower/OpenMP/function-filtering.f90
    M flang/test/Lower/OpenMP/omp-target-early-outlining.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Run Flang-specific OpenMP MLIR passes in bbc

This patch moves the group of OpenMP MLIR passes using after lowering of
Fortran to MLIR into a pipeline to be shared by `flang-new` and `bbc`.
Currently, the `bbc` tool does not produce the expected FIR for offloading-
enabled OpenMP codes due to not running these passes.

Unit tests exercising these passes are updated to check `bbc` output as well.




More information about the All-commits mailing list