[all-commits] [llvm/llvm-project] 959de1: [flang] fir.emboxchar codegen with static length f...

jeanPerier via All-commits all-commits at lists.llvm.org
Wed Dec 7 02:59:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 959de15055c45e33160308bc6b4846d93d08aaa2
      https://github.com/llvm/llvm-project/commit/959de15055c45e33160308bc6b4846d93d08aaa2
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/boxchar.fir

  Log Message:
  -----------
  [flang] fir.emboxchar codegen with static length fir.char types

The verifier of fir.emboxchar accepts `fir.char<kind, constant>` types,
but its codegen failed because of a missing cast. It is convenient and
safe to not require making the cast in FIR, so add it in codegen.

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




More information about the All-commits mailing list