[all-commits] [llvm/llvm-project] 8f9025: [flang] implement assumed-rank in ENTRY (#96111)

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Jun 20 06:11:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f90258a5140bfb7b4d7f0fd503a9e659d79ba77
      https://github.com/llvm/llvm-project/commit/8f90258a5140bfb7b4d7f0fd503a9e659d79ba77
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M flang/lib/Lower/ConvertVariable.cpp
    A flang/test/Lower/HLFIR/assumed-rank-entry.f90

  Log Message:
  -----------
  [flang] implement assumed-rank in ENTRY (#96111)

With `createUnallocatedBox` utility change from #96106 , the TODO for assumed-rank in entry
can simply be lifted and test is added.

The key is that a unallocated assumed-rank descriptor is created with
rank zero in the entry where an assumed-rank dummy from some other entry
do not appear as a dummy (the symbol must still be mapped to some valid
value because the symbol could be used in code that would be unreachable
at runtime, but that the compiler must still generate).



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