[all-commits] [llvm/llvm-project] 219b99: [flang][hlfir] Turn fir.char<1> results into hlfir...

jeanPerier via All-commits all-commits at lists.llvm.org
Sun Feb 5 23:53:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 219b997ea0f70465c352eded468cf722c9f77bbb
      https://github.com/llvm/llvm-project/commit/219b997ea0f70465c352eded468cf722c9f77bbb
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    A flang/test/Lower/HLFIR/calls-character-singleton-result.f90

  Log Message:
  -----------
  [flang][hlfir] Turn fir.char<1> results into hlfir.expr<fir.char<1>>

This gets rid of a special case with CHAR() intrinsic and BIND(C) results.
I tested this has no impact on the LLVM assembly when LLVM opt -01 or
more is run.
See comment in the patch for more details.

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




More information about the All-commits mailing list