[Mlir-commits] [mlir] [mlir][test] Add missing `REQUIRES: asserts` for --debug-only flag (PR #149634)
Jordan Rupprecht
llvmlistbot at llvm.org
Fri Jul 18 19:54:59 PDT 2025
https://github.com/rupprecht created https://github.com/llvm/llvm-project/pull/149634
Debug flags are not provided in fully optimized builds.
Test added in #149378 / #146228
>From 9037805d9030752fc53aea85c5262942a0ef7944 Mon Sep 17 00:00:00 2001
From: Jordan Rupprecht <rupprecht at google.com>
Date: Fri, 18 Jul 2025 19:52:23 -0700
Subject: [PATCH] [mlir][test] Add missing `REQUIRES: asserts` for --debug-only
flag
---
mlir/test/IR/test-pattern-logging-listener.mlir | 1 +
1 file changed, 1 insertion(+)
diff --git a/mlir/test/IR/test-pattern-logging-listener.mlir b/mlir/test/IR/test-pattern-logging-listener.mlir
index e8f0d61a75960..c521110a87aa3 100644
--- a/mlir/test/IR/test-pattern-logging-listener.mlir
+++ b/mlir/test/IR/test-pattern-logging-listener.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
// RUN: mlir-opt %s --test-walk-pattern-rewrite-driver \
// RUN: --allow-unregistered-dialect --debug-only=pattern-logging-listener 2>&1 | FileCheck %s
More information about the Mlir-commits
mailing list