[llvm-branch-commits] [llvm] [mlir] [Support][llvm-mc] Add column checking to -verify directives (PR #227570)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 30 00:56:38 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 154366 tests passed
* 3431 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-mc/verify/basic.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp && split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-mc/verify/basic.s /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp
# note: command had no output on stdout or stderr
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-mc/verify/basic.s /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/match.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/match.s
# note: command had no output on stdout or stderr
# RUN: at line 14
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/wrong-column.s 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/wrong-column.s --check-prefix=WRONG-COLUMN
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/wrong-column.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/wrong-column.s --check-prefix=WRONG-COLUMN
# note: command had no output on stdout or stderr
# RUN: at line 18
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify=check /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/match-custom-prefix.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify=check /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/match-custom-prefix.s
# note: command had no output on stdout or stderr
# RUN: at line 23
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/near-miss.s 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/near-miss.s --check-prefix=NEAR-MISS
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/near-miss.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/near-miss.s --check-prefix=NEAR-MISS
# note: command had no output on stdout or stderr
# RUN: at line 27
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/unexpected.s 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/unexpected.s --check-prefix=UNEXPECTED
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/unexpected.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/unexpected.s --check-prefix=UNEXPECTED
# note: command had no output on stdout or stderr
# RUN: at line 31
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/missing.s 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/missing.s --check-prefix=MISSING
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/missing.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/missing.s --check-prefix=MISSING
# note: command had no output on stdout or stderr
# RUN: at line 39
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify -I /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/main-include.s 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/included-missing.s --check-prefix=INCLUDE-MISSING
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify -I /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/main-include.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/included-missing.s --check-prefix=INCLUDE-MISSING
# note: command had no output on stdout or stderr
# RUN: at line 44
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/outside-comment.s 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/outside-comment.s --check-prefix=UNEXPECTED
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/outside-comment.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/outside-comment.s --check-prefix=UNEXPECTED
# note: command had no output on stdout or stderr
# RUN: at line 52
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/no-diagnostics.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/no-diagnostics.s
# .---command stdout------------
# | addi a0, a0, 1
# |
# `-----------------------------
# RUN: at line 57
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify -validate-cfi -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/cfi.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -verify -validate-cfi -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/cfi.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-mc/verify/Output/basic.s.tmp/cfi.s:8:4: error: expected error "changed register X10, that register X10's unwinding rule uses, but there is no CFI directives about it" was not produced
# | # expected-error at -1 {{changed register X10, that register X10's unwinding rule uses, but there is no CFI directives about it}}
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### 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/227570
More information about the llvm-branch-commits
mailing list