[all-commits] [llvm/llvm-project] af6ee5: [fir] Add fir.embox conversion

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Nov 18 02:07:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af6ee58092a3af339ca50e2d4514c9597f65c33c
      https://github.com/llvm/llvm-project/commit/af6ee58092a3af339ca50e2d4514c9597f65c33c
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-11-18 (Thu, 18 Nov 2021)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIRTypes.td
    A flang/include/flang/Optimizer/Support/TypeCode.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Fir/convert-to-llvm.fir

  Log Message:
  -----------
  [fir] Add fir.embox conversion

Convert a `fir.embox` operation to LLVM IR dialect.
A `fir.embox` is converted to a sequence of operation that
create, allocate if needed, and populate a descriptor.

Current limitiation: alignment is set by default but should be retrieved in the specific target.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan, awarzynski

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

Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>




More information about the All-commits mailing list