diff options
-rw-r--r-- | src/TosaDeserialize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TosaDeserialize.cpp b/src/TosaDeserialize.cpp index b80e2cb..3c7db8e 100644 --- a/src/TosaDeserialize.cpp +++ b/src/TosaDeserialize.cpp @@ -156,7 +156,7 @@ mlir::LogicalResult BuildTensorType(mlir::OpBuilder *op_builder, shape.push_back(mlir::ShapedType::kDynamic); } } - type = mlir::RankedTensorType::get(llvm::makeArrayRef(shape), element_type); + type = mlir::RankedTensorType::get(llvm::ArrayRef(shape), element_type); return mlir::success(); } |