[flang-commits] [PATCH] D132587: [flang] Noncontiguous formats

vdonaldson via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Aug 24 12:11:10 PDT 2022


vdonaldson created this revision.
vdonaldson added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
vdonaldson requested review of this revision.

Add the remaining pieces to support IO for noncontigous formats.
This is done by passing an array descriptor to IO calls.  Scalar
formats continue to pass string and length arguments.  IO calls
with formats are modified to place the new format descriptor
argument directly after the original string and length arguments.


https://reviews.llvm.org/D132587

Files:
  flang/include/flang/Runtime/io-api.h
  flang/lib/Lower/IO.cpp
  flang/runtime/format-implementation.h
  flang/runtime/io-api.cpp
  flang/runtime/io-stmt.cpp
  flang/runtime/io-stmt.h
  flang/test/Lower/read-write-buffer.f90
  flang/unittests/Runtime/ExternalIOTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132587.455320.patch
Type: text/x-patch
Size: 28422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220824/e981c47a/attachment-0001.bin>


More information about the flang-commits mailing list