[PATCH] D74365: [mlir][Linalg] Update semantics for Linalg generic ops with tensors.
Han-Chung Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 15:55:18 PST 2020
hanchung created this revision.
hanchung added reviewers: mravishankar, nicolasvasilache.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.
This diff enforces that the last operands correspond to the result tensors. In
reduction, we need to take result tensors as input during the calculation. Thus,
we make the block/function take more arguments to handle it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74365
Files:
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
mlir/test/Dialect/Linalg/fusion-tensor.mlir
mlir/test/Dialect/Linalg/invalid.mlir
mlir/test/Dialect/Linalg/roundtrip.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74365.243690.patch
Type: text/x-patch
Size: 17303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200210/1ae0b0d0/attachment-0001.bin>
More information about the llvm-commits
mailing list