[all-commits] [llvm/llvm-project] 8c2ed5: [flang][hlfir] Pass vector subscripted elemental c...

jeanPerier via All-commits all-commits at lists.llvm.org
Wed Oct 4 05:00:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c2ed5ccc26cbe1c5d146231ac4ce628e403b590
      https://github.com/llvm/llvm-project/commit/8c2ed5ccc26cbe1c5d146231ac4ce628e403b590
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M flang/include/flang/Lower/HlfirIntrinsics.h
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/HlfirIntrinsics.cpp
    A flang/test/Lower/HLFIR/elemental-call-vector-subscripts.f90

  Log Message:
  -----------
  [flang][hlfir] Pass vector subscripted elemental call arg by address (#68097)

I missed that vector subscripted arguments must still be passed by
address in an elemental call where the dummy argument does not have
the VALUE attribute.

Update PreparedActualArgument to hold an hlfir::Entity or an
hlfir::ElementalOp and to inline the elementalOp body in `getActual`.




More information about the All-commits mailing list