From 5709e6275d95d9b911ef0f8e8f324201afae1402 Mon Sep 17 00:00:00 2001 From: Peiming Liu Date: Thu, 10 Jul 2025 08:38:36 -0700 Subject: [PATCH] [mlir][OpenMP] fix compilation warning --- mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }); }