[all-commits] [llvm/llvm-project] c6ac93: [Flang] Add OpenMP Conversion patterns

kiranchandramohan via All-commits all-commits at lists.llvm.org
Mon Mar 21 07:23:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6ac937091249582fce14f02920a4bc94049e713
      https://github.com/llvm/llvm-project/commit/c6ac937091249582fce14f02920a4bc94049e713
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    A flang/test/Fir/convert-to-llvm-openmp-and-fir.fir

  Log Message:
  -----------
  [Flang] Add OpenMP Conversion patterns

This patch adds the OpenMP conversion patterns to the FIR to LLVM
dialect lowering pass in Codegen. Appropriate legalization
conditions are also added. This ensures that a mix of FIR and OpenMP
dialects can be lowered to LLVM and OpenMP  dialects. Also adds two
tests.

This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project

Reviewed By: clementval, peixin

Differential Revision: https://reviews.llvm.org/D121793

Co-authored-by: Sourabh Singh Tomar <SourabhSingh.Tomar at amd.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list