llvm-project/mlir/test/mlir-cpu-runner
gysit 7294be2b8e [mlir][linalg] Replace linalg.fill by OpDSL variant.
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
2022-03-14 10:51:08 +00:00
..
X86Vector [mlir][NFC] Rename StandardToLLVM to FuncToLLVM 2022-03-07 11:25:23 -08:00
async-error.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
async-group.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
async-value.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
async.mlir [mlir][linalg] Replace linalg.fill by OpDSL variant. 2022-03-14 10:51:08 +00:00
bare-ptr-call-conv.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
copy.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
global-memref.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
lit.local.cfg Mark some MLIR tests as requiring the native target to be configured 2022-01-14 07:23:14 +00:00
math-polynomial-approx.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
memref-reinterpret-cast.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
memref-reshape.mlir [mlir] Update FuncOp conversion passes to Pass/InterfacePass<FunctionOpInterface> 2022-03-08 12:25:32 -08:00
sgemm-naive-codegen.mlir [mlir][linalg] Replace linalg.fill by OpDSL variant. 2022-03-14 10:51:08 +00:00
simple.mlir [mlir] replace LLVM dialect float types with built-ins 2021-01-08 17:38:12 +01:00
unranked-memref.mlir [mlir][linalg] Replace linalg.fill by OpDSL variant. 2022-03-14 10:51:08 +00:00
utils.mlir [mlir][linalg] Replace linalg.fill by OpDSL variant. 2022-03-14 10:51:08 +00:00