[Mlir-commits] [mlir] a1dc813 - [mlir][mesh] fix unused variable error
Emilio Cota
llvmlistbot at llvm.org
Wed Jan 10 11:33:29 PST 2024
Author: Emilio Cota
Date: 2024-01-10T14:32:57-05:00
New Revision: a1dc813f759955ddbcf9b12ed052dfc8a07fdf4a
URL: https://github.com/llvm/llvm-project/commit/a1dc813f759955ddbcf9b12ed052dfc8a07fdf4a
DIFF: https://github.com/llvm/llvm-project/commit/a1dc813f759955ddbcf9b12ed052dfc8a07fdf4a.diff
LOG: [mlir][mesh] fix unused variable error
Added:
Modified:
mlir/test/lib/Dialect/Mesh/TestProcessMultiIndexOpLowering.cpp
Removed:
################################################################################
diff --git a/mlir/test/lib/Dialect/Mesh/TestProcessMultiIndexOpLowering.cpp b/mlir/test/lib/Dialect/Mesh/TestProcessMultiIndexOpLowering.cpp
index 7acbf518970456..5018a308a3bdcd 100644
--- a/mlir/test/lib/Dialect/Mesh/TestProcessMultiIndexOpLowering.cpp
+++ b/mlir/test/lib/Dialect/Mesh/TestProcessMultiIndexOpLowering.cpp
@@ -43,6 +43,7 @@ void TestMultiIndexOpLoweringPass::runOnOperation() {
symbolTableCollection);
LogicalResult status =
applyPatternsAndFoldGreedily(getOperation(), std::move(patterns));
+ (void)status;
assert(succeeded(status) && "applyPatternsAndFoldGreedily failed.");
}
More information about the Mlir-commits
mailing list