[all-commits] [llvm/llvm-project] 69193c: [flang] Generate DOT_PRODUCT runtime call based on...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Aug 31 15:27:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69193c6cd73bb43c4c1970914b962e8e568dd092
      https://github.com/llvm/llvm-project/commit/69193c6cd73bb43c4c1970914b962e8e568dd092
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
    M flang/test/Lower/Intrinsics/dot_product.f90
    M flang/unittests/Optimizer/Builder/Runtime/ReductionTest.cpp

  Log Message:
  -----------
  [flang] Generate DOT_PRODUCT runtime call based on the result type.

We used to select the runtime function based on the first argument's
type, which was not correct behavior. The selection is done using
the result type now.

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




More information about the All-commits mailing list