[all-commits] [llvm/llvm-project] ed05dc: [flang] MERGE result is polymorphic only if TSOURC...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Mar 1 06:46:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed05dcc57bf9eb9efb44605ee97d7ba4b736e183
      https://github.com/llvm/llvm-project/commit/ed05dcc57bf9eb9efb44605ee97d7ba4b736e183
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/test/Lower/polymorphic-temp.f90

  Log Message:
  -----------
  [flang] MERGE result is polymorphic only if TSOURCE and FSOURCE are polymorphic

16.9.129 point 4: the result is polymorphic if and only if both TSOURCE and
FSOURCE are polymorphic.

If neither TSOURCE and FSOURCE are polymorphic then the current behavior is
preserved.

Depends on D145058

Reviewed By: jeanPerier

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




More information about the All-commits mailing list