[all-commits] [llvm/llvm-project] 6ab6f2: [flang] Avoid copyin/copyout if the actual argumen...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Sep 1 12:16:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ab6f23b14d51d65bfe86df64d0e976ebb573429
      https://github.com/llvm/llvm-project/commit/6ab6f23b14d51d65bfe86df64d0e976ebb573429
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/test/Lower/call-by-value-attr.f90
    M flang/test/Lower/call-copy-in-out.f90
    M flang/test/Lower/dummy-argument-optional-2.f90
    M flang/test/Lower/optional-value-caller.f90

  Log Message:
  -----------
  [flang] Avoid copyin/copyout if the actual argument is contiguous at runtime

This patch adds contiguity check with the runtime to avoid copyin/copyout
in case the actual argument is actually contiguous.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D133097




More information about the All-commits mailing list