This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add BoxValue (part of upstreaming flang lowering)
ClosedPublic

Authored by schweitz on Jun 19 2020, 12:33 PM.

Details

Summary
The bridge uses internal boxes of related ssa-values to track all the
information associated with a Fortran variable. Variables may have a
location and a value, but may also carry other properties such as rank,
shape, LEN parameters, etc. in Fortran.

Diff Detail

Event Timeline

schweitz created this revision.Jun 19 2020, 12:33 PM
Herald added a project: Restricted Project. · View Herald Transcript

LGTM.

A general word about boxes might be useful.

flang/include/flang/Lower/Support/BoxValue.h
50–52

Why does this structure use a get Function for a member of the struct? Could this be a class?

This revision is now accepted and ready to land.Jun 20 2020, 2:23 AM
This revision was automatically updated to reflect the committed changes.