[all-commits] [llvm/llvm-project] dda016: [flang] Use PointerAssociateLowerBounds when there...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Feb 7 00:17:59 PST 2023


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

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

  Log Message:
  -----------
  [flang] Use PointerAssociateLowerBounds when there is lower bounds

The current code was not taking provided lower bounds when the pointer
is polymorphic and was just calling PointerAssociate. This patch
updates the behavior and use PointerAssociateLowerBounds with the provided
lower bounds.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list