From 5a7cd5db3cbab6bae86316e436790d8cf6b5ca64 Mon Sep 17 00:00:00 2001 From: Frederik Gossen Date: Thu, 25 Jun 2020 09:39:35 +0000 Subject: [PATCH] [MLIR][Shape] Fix ambiguous symbol --- mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp b/mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp index adf046e..55ebae9 100644 --- a/mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp +++ b/mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp @@ -95,7 +95,7 @@ ShapeOfOpConverter::matchAndRewrite(ShapeOfOp op, ArrayRef operands, // Allocate stack memory. auto loc = op.getLoc(); - auto rankVal = rewriter.create(loc, tensorVal); + auto rankVal = rewriter.create(loc, tensorVal); auto i64Ty = rewriter.getI64Type(); auto memTy = MemRefType::get({ShapedType::kDynamicSize}, i64Ty); auto memVal = rewriter.create(loc, memTy, ValueRange({rankVal})); -- 2.7.4