[all-commits] [llvm/llvm-project] aff6bf: [mlir] support conversion of parallel reduction lo...

ftynse via All-commits all-commits at lists.llvm.org
Wed Mar 4 07:37:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aff6bf4ff81a35a85034b478cccc7015499ce427
      https://github.com/llvm/llvm-project/commit/aff6bf4ff81a35a85034b478cccc7015499ce427
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/LoopOps/LoopOps.td
    M mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
    M mlir/lib/Dialect/LoopOps/LoopOps.cpp
    M mlir/test/Conversion/convert-to-cfg.mlir

  Log Message:
  -----------
  [mlir] support conversion of parallel reduction loops to std

Recently introduced support for converting sequential reduction loops to
CFG of basic blocks in the Standard dialect makes it possible to perform
a staged conversion of parallel reduction loops into a similar CFG by
using sequential loops as an intermediate step. This is already the case
for parallel loops without reduction, so extend the pattern to support
an additional use case.

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




More information about the All-commits mailing list