[all-commits] [llvm/llvm-project] 1e77b0: [flang][CodeGen] Transform `fir.emboxchar` to a se...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Mon Nov 15 03:12:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e77b09538c1bcba4936fee2e3f1a54de2467157
      https://github.com/llvm/llvm-project/commit/1e77b09538c1bcba4936fee2e3f1a54de2467157
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

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

  Log Message:
  -----------
  [flang][CodeGen] Transform `fir.emboxchar` to a sequence of LLVM MLIR

This patch extends the `FIRToLLVMLowering` pass in Flang by adding a
hook to transform `fir.emboxchar` to a sequence of LLVM MLIR
instructions.

This is part of the upstreaming effort from the `fir-dev` branch in [1].

[1] https://github.com/flang-compiler/f18-llvm-project

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

Patch originally written by:
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list