diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-04-27 12:45:07 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-04-28 12:44:31 -0700 |
commit | 53f775bbc0b8fbca941b5f7ad324b18884eddd7e (patch) | |
tree | dbaefb499dcd330124a5253ff416b933d3389059 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 75881d8b023ef8576afbba510c07eb8b899f2ec7 (diff) | |
download | llvm-53f775bbc0b8fbca941b5f7ad324b18884eddd7e.zip llvm-53f775bbc0b8fbca941b5f7ad324b18884eddd7e.tar.gz llvm-53f775bbc0b8fbca941b5f7ad324b18884eddd7e.tar.bz2 |
[flang][runtime] Support B/O/Z editing of CHARACTER
This is a common extension, though semantics differ across
compilers. I've chosen to interpret the CHARACTER data
as if it were an arbitrary-precision integer value and
format or read it as such. This matches Intel's compilers
and nvfortran. (GNU Fortran can't handle lengths > 1 and XLF
seems to get the enddianness wrong.)
This patch generalizes the previous implementations of
B/O/Z input and output so that they'll work for arbitrary data
in memory, and then uses them for all B/O/Z input/output,
including (now) CHARACTER.
Differential Revision: https://reviews.llvm.org/D124547
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions