aboutsummaryrefslogtreecommitdiff
path: root/mlir/unittests/Dialect/SparseTensor/MergerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/unittests/Dialect/SparseTensor/MergerTest.cpp')
-rw-r--r--mlir/unittests/Dialect/SparseTensor/MergerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/unittests/Dialect/SparseTensor/MergerTest.cpp b/mlir/unittests/Dialect/SparseTensor/MergerTest.cpp
index 2a58305..2b92e47 100644
--- a/mlir/unittests/Dialect/SparseTensor/MergerTest.cpp
+++ b/mlir/unittests/Dialect/SparseTensor/MergerTest.cpp
@@ -141,7 +141,7 @@ protected:
}
#define IMPL_BINOP_EXPR(OP, KIND) \
- LLVM_ATTRIBUTE_UNUSED ExprId OP##Expr(ExprId e0, ExprId e1) { \
+ [[maybe_unused]] ExprId OP##Expr(ExprId e0, ExprId e1) { \
return merger.addExp(KIND, e0, e1); \
}
FOREVERY_BINOP(IMPL_BINOP_EXPR)