Loading mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td +2 −0 Original line number Diff line number Diff line Loading @@ -330,6 +330,8 @@ def FillOp : LinalgStructured_Op<"fill", [NInputs<0>, NOutputs<1>]> { llvm_unreachable("NYI referenceIndexingMaps for CopyOp"); } }]; let verifier = [{ return ::verify(*this); }]; let hasFolder = 1; } Loading mlir/lib/Dialect/Linalg/EDSC/Builders.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -205,13 +205,6 @@ Operation *mlir::edsc::makeGenericLinalgOp( return op; } static void mulRegionBuilder(ArrayRef<BlockArgument> args) { using edsc::op::operator*; assert(args.size() == 2 && "expected 2 block arguments"); ValueHandle a(args[0]), b(args[1]); linalg_yield((a * b).getValue()); } void mlir::edsc::ops::mulRegionBuilder(ArrayRef<BlockArgument> args) { using edsc::op::operator+; using edsc::op::operator*; Loading Loading
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td +2 −0 Original line number Diff line number Diff line Loading @@ -330,6 +330,8 @@ def FillOp : LinalgStructured_Op<"fill", [NInputs<0>, NOutputs<1>]> { llvm_unreachable("NYI referenceIndexingMaps for CopyOp"); } }]; let verifier = [{ return ::verify(*this); }]; let hasFolder = 1; } Loading
mlir/lib/Dialect/Linalg/EDSC/Builders.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -205,13 +205,6 @@ Operation *mlir::edsc::makeGenericLinalgOp( return op; } static void mulRegionBuilder(ArrayRef<BlockArgument> args) { using edsc::op::operator*; assert(args.size() == 2 && "expected 2 block arguments"); ValueHandle a(args[0]), b(args[1]); linalg_yield((a * b).getValue()); } void mlir::edsc::ops::mulRegionBuilder(ArrayRef<BlockArgument> args) { using edsc::op::operator+; using edsc::op::operator*; Loading