Page MenuHomePhabricator

[flang] Add lowering of I/O statements
ClosedPublic

Authored by schweitz on Jul 6 2020, 5:05 PM.

Details

Summary

Adds the lowering of the various I/O related statements of Fortran.

The lowering targets the I/O runtime interface found in flang/runtime. I/O for scalar objects is performed. Error handling and implied-do constructs are handled.

Diff Detail

Event Timeline

schweitz created this revision.Jul 6 2020, 5:05 PM
sscalpone accepted this revision.Jul 6 2020, 9:28 PM
sscalpone added inline comments.
flang/include/flang/Lower/IO.h
10

Are we fairly confident in the i/o design now? If so, please update these comments.

This revision is now accepted and ready to land.Jul 6 2020, 9:28 PM

Thanks for pointing out those comments. Yes, the I/O runtime is much further along now. I'll update them.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2020, 7:32 AM