File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlir/include/mlir/Dialect/Transform/IR Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ class TransformState {
232
232
// the data structure is compacted). Do not enumerate these ops.
233
233
return llvm::make_filter_range (view, [=](Operation *op) {
234
234
#ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
235
- bool sameTimestamp =
235
+ [[maybe_unused]] bool sameTimestamp =
236
236
currentTimestamp == this ->getMapping (value).timestamps .lookup (value);
237
237
assert (sameTimestamp && " iterator was invalidated during iteration" );
238
238
#endif // LLVM_ENABLE_ABI_BREAKING_CHECKS
@@ -257,7 +257,7 @@ class TransformState {
257
257
int64_t currentTimestamp =
258
258
getMapping (handleValue).timestamps .lookup (handleValue);
259
259
return llvm::make_filter_range (view, [=](Value v) {
260
- bool sameTimestamp =
260
+ [[maybe_unused]] bool sameTimestamp =
261
261
currentTimestamp ==
262
262
this ->getMapping (handleValue).timestamps .lookup (handleValue);
263
263
assert (sameTimestamp && " iterator was invalidated during iteration" );
You can’t perform that action at this time.
0 commit comments