[llvm-branch-commits] [llvm] [Support] Add custom-prefix and comment-scoping support to SourceMgrDiagnosticVerifier (PR #227568)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 30 00:25:04 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 154366 tests passed
* 3431 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### MLIR
<details>
<summary>MLIR.Transforms/test-legalizer-analysis.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt -allow-unregistered-dialect -test-legalize-patterns="test-legalize-mode=analysis" -verify-diagnostics /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt -allow-unregistered-dialect -test-legalize-patterns=test-legalize-mode=analysis -verify-diagnostics /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir:2:4: error: line offset '-2' is before the start of the file
# | // expected-remark at -2 {{op 'builtin.module' is legalizable}}
# |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir:0:0: error: unexpected remark: op 'builtin.module' is legalizable
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir:2:4: error: line offset '-2' is before the start of the file
# | // expected-remark at -2 {{op 'builtin.module' is legalizable}}
# |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir:4:4: error: expected remark "op 'func.func' is legalizable" was not produced
# | // expected-remark at +1 {{op 'func.func' is legalizable}}
# |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir:6:6: error: expected remark "op 'test.illegal_op_a' is legalizable" was not produced
# |   // expected-remark at +1 {{op 'test.illegal_op_a' is legalizable}}
# |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir:9:10: error: expected remark "op 'test.invalid' is legalizable" was not produced
# |       // expected-remark at +1 {{op 'test.invalid' is legalizable}}
# |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Transforms/test-legalizer-analysis.mlir
# note: command had no output on stdout or stderr

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-branch-commits mailing list