diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td --- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td +++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td @@ -515,13 +515,7 @@ llvm::Optional> referenceIndexingMaps() { llvm_unreachable( "No such thing as reference indexing maps for a generic op."); - } - - llvm::Optional getSymbolSource() { - auto ss = symbol_source(); - return ss.hasValue() ? - llvm::Optional(ss.getValue().getLimitedValue()) : llvm::None; - } + } }]; let printer = [{ return ::print(p, *this); }]; diff --git a/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp b/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp --- a/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp +++ b/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp @@ -526,7 +526,7 @@ consumer.iterator_types(), /*doc=*/nullptr, /*library_call=*/nullptr, - /*symbol_source=*/nullptr) + /*symbol_source*/ nullptr) .getOperation(); }