[Mlir-commits] [llvm] [mlir] [mlir][core] Add an MLIR "pattern catalog" generator (PR #146228)

LLVM Continuous Integration llvmlistbot at llvm.org
Thu Jul 17 09:52:05 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `mlir` at step 11 "Add check check-mlir".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/27168

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 11 (Add check check-mlir) failure: test (failure)
******************** TEST 'MLIR :: IR/test-pattern-logging-listener.mlir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/mlir-opt /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/test/IR/test-pattern-logging-listener.mlir --test-walk-pattern-rewrite-driver    --allow-unregistered-dialect --debug-only=pattern-logging-listener 2>&1 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/test/IR/test-pattern-logging-listener.mlir
# executed command: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/mlir-opt /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/test/IR/test-pattern-logging-listener.mlir --test-walk-pattern-rewrite-driver --allow-unregistered-dialect --debug-only=pattern-logging-listener
# executed command: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/test/IR/test-pattern-logging-listener.mlir
# .---command stderr------------
# | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/test/IR/test-pattern-logging-listener.mlir:8:11: error: CHECK: expected string not found in input
# | // CHECK: [pattern-logging-listener] {{.anonymous.namespace.}}::ReplaceWithNewOp | notifyOperationInserted | test.new_op
# |           ^
# | <stdin>:1:1: note: scanning from here
# | [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationInserted | test.new_op
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/test/IR/test-pattern-logging-listener.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          1: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationInserted | test.new_op 
# | check:8     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |          2: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationReplaced (with values) | test.replace_with_new_op 
# | check:8     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          3: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationModified | arith.addi 
# | check:8     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          4: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationModified | arith.addi 
# | check:8     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          5: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationErased | test.replace_with_new_op 
# | check:8     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          6: module { 
# | check:8     ~~~~~~~~~
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```

</details>

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


More information about the Mlir-commits mailing list