Skip to content

Commit 6c5a3bc

Browse files
committed
fx
1 parent d8b77bf commit 6c5a3bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mlir/unittests/IR/RemarkTest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ TEST(Remark, TestCustomOptimizationRemarkDiagnostic) {
280280
Location loc = UnknownLoc::get(&context);
281281

282282
// Setup the remark engine
283-
mlir::remark::RemarkCategories cats{/*all=*/"",
283+
mlir::remark::RemarkCategories cats{/*all=*/std::nullopt,
284284
/*passed=*/categoryLoopunroll,
285285
/*missed=*/std::nullopt,
286286
/*analysis=*/std::nullopt,
@@ -332,7 +332,8 @@ TEST(Remark, TestCustomOptimizationRemarkPostponeDiagnostic) {
332332
Location loc = UnknownLoc::get(&context);
333333

334334
// Setup the remark engine
335-
mlir::remark::RemarkCategories cats{/*passed=*/categoryLoopunroll,
335+
mlir::remark::RemarkCategories cats{/*all=*/std::nullopt,
336+
/*passed=*/categoryLoopunroll,
336337
/*missed=*/std::nullopt,
337338
/*analysis=*/std::nullopt,
338339
/*failed=*/categoryLoopunroll};

0 commit comments

Comments
 (0)