[all-commits] [llvm/llvm-project] 6eb763: [fir] Add character conversion pass

jeanPerier via All-commits all-commits at lists.llvm.org
Sun Oct 10 11:20:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eb7634f301a0ef6465f514ae8cc4634602470a2
      https://github.com/llvm/llvm-project/commit/6eb7634f301a0ef6465f514ae8cc4634602470a2
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    A flang/lib/Optimizer/Transforms/CharacterConversion.cpp
    A flang/test/Fir/char-conversion.fir

  Log Message:
  -----------
  [fir] Add character conversion pass

Upstream the character conversion pass.
Translates entities of one CHARACTER KIND to another.
By default the translation is to naively zero-extend or truncate a code
point to fit the destination size.

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

Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Valentin Clement <clementval at gmail.com>

Reviewed By: schweitz

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




More information about the All-commits mailing list