This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't fold SIZE()/SHAPE() into expression referencing optional dummy arguments
ClosedPublic

Authored by klausler on May 30 2023, 10:55 AM.

Details

Summary

When computing the shape of an expression at compilation time as part of
folding an intrinsic function like SIZE(), don't create an expression that
increases a dependence on the presence of an optional dummy argument.

Diff Detail