diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp index c810c5b10f061..9bea8b7a732a8 100644 --- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp +++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp @@ -3156,7 +3156,7 @@ void NewCliOp::getAsmResultNames(OpAsmSetValueNameFn setNameFn) { llvm_unreachable("heuristic unrolling does not generate a loop"); }) .Default([&](Operation *op) { - assert(!"TODO: Custom name for this operation"); + assert(false && "TODO: Custom name for this operation"); return "transformed"; }); }