Skip to content

Commit b5ff581

Browse files
updated comment
1 parent 5ddac27 commit b5ff581

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flang/lib/Lower/ConvertCall.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,6 +1370,12 @@ static PreparedDummyArgument preparePresentUserCallActualArgument(
13701370
preparedDummy.pushExprAssociateCleanUp(associate);
13711371
} else if (mustDoCopyIn || mustDoCopyOut) {
13721372
// Copy-in non contiguous variables.
1373+
//
1374+
// TODO: copy-in and copy-out are now determined separately, in order
1375+
// to allow more fine grained copying. While currently both copy-in
1376+
// and copy-out are must be done together, these copy operations could
1377+
// be separated in the future. (This is related to TODO comment below.)
1378+
//
13731379
// TODO: for non-finalizable monomorphic derived type actual
13741380
// arguments associated with INTENT(OUT) dummy arguments
13751381
// we may avoid doing the copy and only allocate the temporary.

0 commit comments

Comments
 (0)