[Mlir-commits] [mlir] [mlir][test] Add missing `REQUIRES: asserts` for --debug-only flag (PR #149634)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jul 18 19:55:36 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Jordan Rupprecht (rupprecht)

<details>
<summary>Changes</summary>

Debug flags are not provided in fully optimized builds.

Test added in #<!-- -->149378 / #<!-- -->146228

---
Full diff: https://github.com/llvm/llvm-project/pull/149634.diff


1 Files Affected:

- (modified) mlir/test/IR/test-pattern-logging-listener.mlir (+1) 


``````````diff
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
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/149634


More information about the Mlir-commits mailing list