Commit 10382ebe authored by Nicolas Vasilache's avatar Nicolas Vasilache
Browse files

[mlir][Linalg] Fix build warnings

parent 6e30fd05
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}

+0 −7
Original line number Diff line number Diff line
@@ -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*;