From a5b889db7fd3be9e33e29aa4f1a2edfff9a69350 Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Thu, 22 Jul 2021 13:57:36 -0700 Subject: [PATCH] [mlir] Also update inferReturnTensorTypes (NFC) Missed this one in the first go. --- mlir/include/mlir/Interfaces/InferTypeOpInterface.h | 2 +- mlir/lib/Interfaces/InferTypeOpInterface.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/include/mlir/Interfaces/InferTypeOpInterface.h b/mlir/include/mlir/Interfaces/InferTypeOpInterface.h index 954caa7..0d6755f 100644 --- a/mlir/include/mlir/Interfaces/InferTypeOpInterface.h +++ b/mlir/include/mlir/Interfaces/InferTypeOpInterface.h @@ -88,7 +88,7 @@ namespace detail { // becomes more common. LogicalResult inferReturnTensorTypes( function_ref location, ValueRange operands, + MLIRContext *, Optional location, ValueShapeRange operands, DictionaryAttr attributes, RegionRange regions, SmallVectorImpl &retComponents)> componentTypeFn, diff --git a/mlir/lib/Interfaces/InferTypeOpInterface.cpp b/mlir/lib/Interfaces/InferTypeOpInterface.cpp index cfa2ce4..cdae04e 100644 --- a/mlir/lib/Interfaces/InferTypeOpInterface.cpp +++ b/mlir/lib/Interfaces/InferTypeOpInterface.cpp @@ -22,7 +22,7 @@ namespace mlir { LogicalResult mlir::detail::inferReturnTensorTypes( function_ref location, ValueRange operands, + MLIRContext *, Optional location, ValueShapeRange operands, DictionaryAttr attributes, RegionRange regions, SmallVectorImpl &retComponents)> componentTypeFn, -- 2.7.4