[all-commits] [llvm/llvm-project] 4eab30: [flang][hlfir] Fixed symbol lookup for character r...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed May 17 08:59:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eab303404d6bb2252b4baf807c5ac87a0fa3125
      https://github.com/llvm/llvm-project/commit/4eab303404d6bb2252b4baf807c5ac87a0fa3125
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/HLFIR/function-return.f90

  Log Message:
  -----------
  [flang][hlfir] Fixed symbol lookup for character returns.

Symbols corresponding to entries returning character results
must be mapped to EmboxCharOp, first, before we can map them
to DeclareOp. The code may be reworked after HLFIR is enabled
by default, but right now it seems like an acceptable solution to me.

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




More information about the All-commits mailing list