llvm-project
4b6a4aa5 - [flang] Consolidate copy-in/copy-out determination in evaluate framework (#151408)

Commit
13 days ago
[flang] Consolidate copy-in/copy-out determination in evaluate framework (#151408) New implementation of `MayNeedCopy()` is used to consolidate copy-in/copy-out checks. `IsAssumedShape()` and `IsAssumedRank()` were simplified and are both now in `Fortran::semantics` workspace. `preparePresentUserCallActualArgument()` in lowering was modified to use `MayNeedCopyInOut()` Fixes https://github.com/llvm/llvm-project/issues/138471
Parents
Loading