[PATCH] D75599: [mlir] support conversion of parallel reduction loops to std
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 4 02:53:00 PST 2020
ftynse created this revision.
ftynse added reviewers: herhut, pifon2a.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75599
Files:
mlir/include/mlir/Dialect/LoopOps/LoopOps.td
mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
mlir/lib/Dialect/LoopOps/LoopOps.cpp
mlir/test/Conversion/convert-to-cfg.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75599.248131.patch
Type: text/x-patch
Size: 9598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200304/a6f81bd6/attachment-0001.bin>
More information about the llvm-commits
mailing list