[all-commits] [llvm/llvm-project] 7aa8a9: [flang] Fix bounds array creation for pointer rema...

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


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

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/runtime/pointer.cpp
    M flang/test/Lower/polymorphic.f90

  Log Message:
  -----------
  [flang] Fix bounds array creation for pointer remapping calls

`PointerAssociateRemapping` expect a descriptor holding
a newRank x 2 array of int64. The previous lowering was wrong.
Adapt the lowering to fit the expectation of the runtime.
Use the `bounds` to get the rank.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list