This is an archive of the discontinued LLVM Phabricator instance.

[flang] Re-fold bounds expressions in DATA implied DO loops
ClosedPublic

Authored by klausler on Nov 29 2021, 3:36 PM.

Details

Summary

To accommodate triangular implied DO loops in DATA statements, in which
the bounds of nested implied DO loops might depend on the values of the
indices of outer implied DO loops in the same DATA statement set, it
is necessary to run them through constant folding each time they are
encountered.

Diff Detail

Event Timeline

klausler created this revision.Nov 29 2021, 3:36 PM
klausler requested review of this revision.Nov 29 2021, 3:36 PM
vdonaldson accepted this revision.Nov 29 2021, 4:42 PM
This revision is now accepted and ready to land.Nov 29 2021, 4:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2021, 1:28 PM