[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:03 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 142999 tests passed
* 3386 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
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe -allow-unregistered-dialect -test-legalize-patterns="test-legalize-mode=analysis" -verify-diagnostics C:\_work\llvm-project\llvm-project\mlir\test\Transforms\test-legalizer-analysis.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Transforms\test-legalizer-analysis.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' -allow-unregistered-dialect -test-legalize-patterns=test-legalize-mode=analysis -verify-diagnostics 'C:\_work\llvm-project\llvm-project\mlir\test\Transforms\test-legalizer-analysis.mlir'
# .---command stderr------------
# | C:\_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}}
# |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\mlir\test\Transforms\test-legalizer-analysis.mlir:0:0: error: unexpected remark: op 'builtin.module' is legalizable
# | C:\_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}}
# |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_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}}
# |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_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}}
# |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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