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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jul 18 20:21:13 PDT 2025


Author: Jordan Rupprecht
Date: 2025-07-18T22:21:09-05:00
New Revision: e1ac57c1a560b1d9891f93081e2f9c862c4a8d77

URL: https://github.com/llvm/llvm-project/commit/e1ac57c1a560b1d9891f93081e2f9c862c4a8d77
DIFF: https://github.com/llvm/llvm-project/commit/e1ac57c1a560b1d9891f93081e2f9c862c4a8d77.diff

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

Debug flags are not provided in fully optimized builds.

Test added in #149378 / #146228

Added: 
    

Modified: 
    mlir/test/IR/test-pattern-logging-listener.mlir

Removed: 
    


################################################################################
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