Skip to content

Commit 77d04ff

Browse files
authored
[mlir][OpenMP] fix compilation warning (#147987)
1 parent 09fb20e commit 77d04ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3156,7 +3156,7 @@ void NewCliOp::getAsmResultNames(OpAsmSetValueNameFn setNameFn) {
31563156
llvm_unreachable("heuristic unrolling does not generate a loop");
31573157
})
31583158
.Default([&](Operation *op) {
3159-
assert(!"TODO: Custom name for this operation");
3159+
assert(false && "TODO: Custom name for this operation");
31603160
return "transformed";
31613161
});
31623162
}

0 commit comments

Comments
 (0)