[all-commits] [llvm/llvm-project] abefd8: [flang] Delegate pointer association to class(*) p...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Nov 30 09:58:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abefd87e706a47303905edcff031a22edf880921
      https://github.com/llvm/llvm-project/commit/abefd87e706a47303905edcff031a22edf880921
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M flang/include/flang/Lower/Runtime.h
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/Runtime.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Lower/polymorphic.f90

  Log Message:
  -----------
  [flang] Delegate pointer association to class(*) pointer to the runtime

Pointer association with an unlimited polymorphic pointer on the lhs
requires more than just updating the base_addr. Delegate the association to
the runtime function `PointerAssociation`.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list