[all-commits] [llvm/llvm-project] fdce1b: [flang][hlfir] Allow passing null() to dummy class...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue May 9 13:26:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdce1b7ed3a625e32ec18d0f0caecd733f95b704
      https://github.com/llvm/llvm-project/commit/fdce1b7ed3a625e32ec18d0f0caecd733f95b704
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    A flang/test/Lower/pass-null-for-class-arg.f90

  Log Message:
  -----------
  [flang][hlfir] Allow passing null() to dummy class argument.


  Commit: 9a7b363eeb867974aeb511c6ce0cfad723523aed
      https://github.com/llvm/llvm-project/commit/9a7b363eeb867974aeb511c6ce0cfad723523aed
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/test/Lower/HLFIR/array-ctor-as-elemental.f90
    M flang/test/Lower/HLFIR/array-ctor-as-inlined-temp.f90
    M flang/test/Lower/HLFIR/array-ctor-as-runtime-temp.f90
    A flang/test/Lower/HLFIR/array-ctor-index.f90
    A flang/test/Lower/array-constructor-index.f90

  Log Message:
  -----------
  [flang] Added missing type cast for the implied-do index.

The implied-do index value has 'index' type, and it has to be
converted to the original ac-do-variable's data type.

Reviewed By: jeanPerier

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


Compare: https://github.com/llvm/llvm-project/compare/bcaa0b26aa7c...9a7b363eeb86


More information about the All-commits mailing list