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

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Sep 2 00:48:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ed30c81d36d4518c63e951fe4b2e4df5a19fd0e
      https://github.com/llvm/llvm-project/commit/4ed30c81d36d4518c63e951fe4b2e4df5a19fd0e
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-09-02 (Fri, 02 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