forked from OSchip/llvm-project
7294be2b8e
The revision removes the linalg.fill operation and renames the OpDSL generated linalg.fill_tensor operation to replace it. After the change, all named structured operations are defined via OpDSL and there are no handwritten operations left. A side-effect of the change is that the pretty printed form changes from: ``` %1 = linalg.fill(%cst, %0) : f32, tensor<?x?xf32> -> tensor<?x?xf32> ``` changes to ``` %1 = linalg.fill ins(%cst : f32) outs(%0 : tensor<?x?xf32>) -> tensor<?x?xf32> ``` Additionally, the builder signature now takes input and output value ranges as it is the case for all other OpDSL operations: ``` rewriter.create<linalg::FillOp>(loc, val, output) ``` changes to ``` rewriter.create<linalg::FillOp>(loc, ValueRange{val}, ValueRange{output}) ``` All other changes remain minimal. In particular, the canonicalization patterns are the same and the `value()`, `output()`, and `result()` methods are now implemented by the FillOpInterface. Depends On D120726 Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D120728 |
||
---|---|---|
.. | ||
X86Vector | ||
async-error.mlir | ||
async-group.mlir | ||
async-value.mlir | ||
async.mlir | ||
bare-ptr-call-conv.mlir | ||
copy.mlir | ||
global-memref.mlir | ||
lit.local.cfg | ||
math-polynomial-approx.mlir | ||
memref-reinterpret-cast.mlir | ||
memref-reshape.mlir | ||
sgemm-naive-codegen.mlir | ||
simple.mlir | ||
unranked-memref.mlir | ||
utils.mlir |