[all-commits] [llvm/llvm-project] 142433: [OpenMP][Flang] Fix dynamic-extent array mapping (...

Akash Banerjee via All-commits all-commits at lists.llvm.org
Thu Sep 5 04:44:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 142433684a6e3a2936f814268396dea4190905dc
      https://github.com/llvm/llvm-project/commit/142433684a6e3a2936f814268396dea4190905dc
  Author: Akash Banerjee <akash.banerjee at amd.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/test/Lower/OpenMP/array-bounds.f90
    M flang/test/Lower/OpenMP/target.f90
    A offload/test/offloading/fortran/target-map-dynamic.f90

  Log Message:
  -----------
  [OpenMP][Flang] Fix dynamic-extent array mapping (#107247)

This patch fixes the mapping and lowering of arrays with dynamic extents
and adds a new test for the same. The fix discards the incomplete the
dynamic extent information and replacing it with just the base type.
When lowering to llvm later, the bounds information is used instead.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list