[all-commits] [llvm/llvm-project] 94d89a: [flang] Allocate polymorphic with SOURCE= using Ap...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Jan 18 09:52:19 PST 2023


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

  Changed paths:
    M flang/lib/Lower/Allocatable.cpp
    M flang/test/Lower/allocatable-polymorphic.f90
    M flang/unittests/Runtime/Pointer.cpp

  Log Message:
  -----------
  [flang] Allocate polymorphic with SOURCE= using ApplyMold

Source allocation is similar to mold allocation + assignment. Use
ApplyMold runtime entry point for polymorphic source allocation.
It could be generalized for other source allocation.

Reviewed By: jeanPerier, PeteSteinfeld

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




More information about the All-commits mailing list