[all-commits] [llvm/llvm-project] b01ac5: [flang][runtime] add SHAPE runtime interface (#94702)

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Jun 7 08:38:32 PDT 2024


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

  Changed paths:
    M flang/include/flang/Runtime/inquiry.h
    M flang/runtime/inquiry.cpp
    M flang/unittests/Runtime/Inquiry.cpp

  Log Message:
  -----------
  [flang][runtime] add SHAPE runtime interface (#94702)

Add SHAPE runtime API (will be used for assumed-rank, lowering is
generating other cases inline).

I tried to make it in a way were there is no dynamic allocation in the
runtime/deallocation expected to be inserted by inline code for arrays
that we know are small (lowering will just always stack allocate a rank
15 array to avoid dynamic stack allocation or heap allocation).



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