[all-commits] [llvm/llvm-project] 0c444f: [flang] Accept polymorphic scalar in elemental int...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Feb 21 01:13:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c444ff514bfbeb9a4674fdb703c7708b118ebde
      https://github.com/llvm/llvm-project/commit/0c444ff514bfbeb9a4674fdb703c7708b118ebde
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  [flang] Accept polymorphic scalar in elemental intrinsic lowering

When lowering an elemental intrinsic like MERGE, a scalar
polymorphic entity was not recognized as a scalar. Update the check
so polyrmorphic entity can be used.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list