[Mlir-commits] [mlir] 1da04b0 - Fix asan error uncovered after landing D145133.
Mahesh Ravishankar
llvmlistbot at llvm.org
Thu Mar 16 11:06:43 PDT 2023
Author: Mahesh Ravishankar
Date: 2023-03-16T18:06:14Z
New Revision: 1da04b04cd59105be098dc6810774549e1e61b78
URL: https://github.com/llvm/llvm-project/commit/1da04b04cd59105be098dc6810774549e1e61b78
DIFF: https://github.com/llvm/llvm-project/commit/1da04b04cd59105be098dc6810774549e1e61b78.diff
LOG: Fix asan error uncovered after landing D145133.
Differential Revision: https://reviews.llvm.org/D146249
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp b/mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
index 1e404cabbb518..453fd85f19bb6 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
@@ -692,7 +692,7 @@ FailureOr<linalg::ForallReductionTilingResult> linalg::tileReductionUsingForall(
// 4. Clone the tileable op and update its destination operands to use the
// output bbArgs of the ForallOp.
- ValueRange tilingResults;
+ SmallVector<Value> tilingResults;
ArrayRef<BlockArgument> destBbArgs = forallOp.getOutputBlockArguments();
{
// 4.a. RAII guard, inserting within forallOp, before terminator.
More information about the Mlir-commits
mailing list