[all-commits] [llvm/llvm-project] 044d5b: [fir] Add base of the FIR to LLVM IR pass

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Oct 29 14:21:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 044d5b5dd184ebdf20bcdfc62fa4bc7f1efd047c
      https://github.com/llvm/llvm-project/commit/044d5b5dd184ebdf20bcdfc62fa4bc7f1efd047c
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/CGPasses.td
    M flang/lib/Optimizer/CodeGen/CMakeLists.txt
    A flang/lib/Optimizer/CodeGen/CodeGen.cpp
    A flang/lib/Optimizer/CodeGen/TypeConverter.h
    A flang/test/Fir/convert-to-llvm.fir

  Log Message:
  -----------
  [fir] Add base of the FIR to LLVM IR pass

This patch adds the base of the FIR to LLVM IR Dialect conversion pass.
It currently can convert the following operations:
 - fir.global
 - fir.has_value
 - fir.address_of
 - fir.undefined

This patch is part of the upstreaming effort from fir-dev branch. It does not
cover all FIR operations in order to have small patches. Several patches will
follow to convert other operations.

Reviewed By: schweitz

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




More information about the All-commits mailing list