[all-commits] [llvm/llvm-project] 2b1385: [flang] Support more data types for reduction in S...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon Sep 19 12:17:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b138567e0cb126ce2bd726e9c4becb69aed0563
      https://github.com/llvm/llvm-project/commit/2b138567e0cb126ce2bd726e9c4becb69aed0563
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/test/Transforms/simplifyintrinsics.fir

  Log Message:
  -----------
  [flang] Support more data types for reduction in SimplifyIntrinsicsPass.

All floating point (not complex) and integer types should be supported now.

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


  Commit: 8bd76ac151534d2b9534ed919c0a7f4511002d84
      https://github.com/llvm/llvm-project/commit/8bd76ac151534d2b9534ed919c0a7f4511002d84
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/test/Transforms/simplifyintrinsics.fir

  Log Message:
  -----------
  [flang] Support multidimensional reductions in SimplifyIntrinsicsPass.

Create simplified functions for each rank with "x<rank>" suffix
that implement multidimensional reductions. To enable this I had to fix
an issue with taking incorrect box shape in cases of sliced embox/rebox.

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


Compare: https://github.com/llvm/llvm-project/compare/88210b81eed8...8bd76ac15153


More information about the All-commits mailing list