[Mlir-commits] [mlir] [mlir][Pass] Fix crash when applying a pass to an optional interface (PR #168499)

LLVM Continuous Integration llvmlistbot at llvm.org
Thu Nov 20 02:05:46 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia-gcc7` running on `mlir-nvidia` while building `mlir` at step 7 "test-build-check-mlir-build-only-check-mlir".

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

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

```
Step 7 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Pass/invalid-unsupported-operation.mlir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-opt /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Pass/invalid-unsupported-operation.mlir -test-print-liveness -split-input-file -verify-diagnostics
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-opt /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Pass/invalid-unsupported-operation.mlir -test-print-liveness -split-input-file -verify-diagnostics
# .---command stdout------------
# | // -----
# | module @named_module {
# | }
# | 
# `-----------------------------
# .---command stderr------------
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Pass/invalid-unsupported-operation.mlir:5:1: error: unexpected error: 'builtin.module' op trying to schedule pass '{anonymous}::TestLivenessPass' on an unsupported operation
# | module {}
# | ^
# | Testing : named_module
# | // ---- Liveness -----
# | // - Block: 0
# | // --- LiveIn: 
# | // --- LiveOut: 
# | // --- BeginLivenessIntervals
# | // --- EndLivenessIntervals
# | // --- BeginCurrentlyLive
# | // --- EndCurrentlyLive
# | // -------------------
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/Pass/invalid-unsupported-operation.mlir:4:4: error: expected error "trying to schedule pass '(anonymous namespace)::TestLivenessPass' on an unsupported operation" was not produced
# | // expected-error @+1 {{trying to schedule pass '(anonymous namespace)::TestLivenessPass' on an unsupported operation}}
# |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1

--

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


```

</details>

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


More information about the Mlir-commits mailing list