[flang-commits] [PATCH] D144411: [flang][runtime] Add API to help with the difficult array constructor cases

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Feb 21 00:39:50 PST 2023


jeanPerier updated this revision to Diff 499061.
jeanPerier added a comment.

Correct typo in comment caught by Pete.

Add note next to Assign runtime to extend its contract to accept
non conforming array operands as long as they have the same number
of elements. The implementation already supported that, and the
array constructor runtime takes advantage of that to avoid
reshaping "to" when it a multidimensional array is pushed into it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144411/new/

https://reviews.llvm.org/D144411

Files:
  flang/include/flang/Runtime/array-constructor.h
  flang/lib/Lower/ConvertArrayConstructor.cpp
  flang/runtime/CMakeLists.txt
  flang/runtime/array-constructor.cpp
  flang/runtime/assign.cpp
  flang/unittests/Runtime/ArrayConstructor.cpp
  flang/unittests/Runtime/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144411.499061.patch
Type: text/x-patch
Size: 24408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230221/90af3227/attachment-0001.bin>


More information about the flang-commits mailing list