[all-commits] [llvm/llvm-project] 6c3d7f: [flang][CodeGen] Transform `fir.boxchar_len` to a ...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Tue Nov 16 05:49:39 PST 2021


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

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

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

This patch extends the `FIRToLLVMLowering` pass in Flang by adding a
hook to transform `fir.boxchar_len` 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/D113763

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




More information about the All-commits mailing list