diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-04-26 16:09:42 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-04-28 09:22:07 -0700 |
commit | 36771bbad1b2588b66f9033074f1f2155065dffb (patch) | |
tree | 3617d00eb1ebccc9637269c09ebc8c4c852d1058 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 9e3b7e8e656bdcf5aeafbac7b345a7b29272434c (diff) | |
download | llvm-36771bbad1b2588b66f9033074f1f2155065dffb.zip llvm-36771bbad1b2588b66f9033074f1f2155065dffb.tar.gz llvm-36771bbad1b2588b66f9033074f1f2155065dffb.tar.bz2 |
[flang][runtime] Correct emission & reading of unterminated final records
When the last operation on a foramtted sequential or stream file (prior
to an implied or explicit ENDFILE) is a non-advancing WRITE, ensure
that any partial record data is emitted to the file without a line
terminator. Further, when that last record is read with a non-advancing
READ, ensure that it won't raise an end-of-record condition after its
data, but instead will signal an end-of-file.
Differential Revision: https://reviews.llvm.org/D124546
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions