[all-commits] [llvm/llvm-project] c23213: [flang][HLFIR] compute elemental function result l...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri May 31 10:50:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c232137d93425dd87ccf960ca9ad515417325634
      https://github.com/llvm/llvm-project/commit/c232137d93425dd87ccf960ca9ad515417325634
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    A flang/test/Lower/HLFIR/elemental-result-length.f90

  Log Message:
  -----------
  [flang][HLFIR] compute elemental function result length parameters (#93983)

Prepare the argument and map them to their corresponding dummy symbol in
order to lower the specification expression of the function result.

Extract the preparation of arguments according to the interface to its
own function to be reused.

It seems there is no need to conditionally compute the length on the
input since all the information comes from the CharBoxValue or the
descriptor for cases where the number of element could be 0.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list