[llvm] [MCA] Enhance debug prints of processor resources (PR #190132)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 02:09:34 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 133021 tests passed
* 3050 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-mca/processor-resource-masks-debug.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resource-masks-debug.s -mcpu=apple-m1 -debug -instruction-tables 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resource-masks-debug.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mcpu=apple-m1 -debug -instruction-tables
# note: command had no output on stdout or stderr
# 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\llvm\test\tools\llvm-mca\processor-resource-masks-debug.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resource-masks-debug.s:14:18: error: CHECK: expected string not found in input
# | # CHECK-COUNT-1: Processor resource masks:
# | ^
# | <stdin>:1:1: note: scanning from here
# | Args: c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe -mcpu=apple-m1 -debug -instruction-tables
# | ^
# | <stdin>:2:32: note: possible intended match here
# | 'apple-m1' is not a recognized processor for this target (ignoring processor)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resource-masks-debug.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Args: c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe -mcpu=apple-m1 -debug -instruction-tables
# | check:14'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: 'apple-m1' is not a recognized processor for this target (ignoring processor)
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:14'1 ? possible intended match
# | 3: 'apple-m1' is not a recognized processor for this target (ignoring processor)
# | check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/llvm-mca/processor-resources-debug.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resources-debug.s -mcpu=apple-m1 -debug 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resources-debug.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mcpu=apple-m1 -debug
# note: command had no output on stdout or stderr
# 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\llvm\test\tools\llvm-mca\processor-resources-debug.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resources-debug.s:11:18: error: CHECK: expected string not found in input
# | # CHECK-COUNT-1: Processor resources:
# | ^
# | <stdin>:1:1: note: scanning from here
# | Args: c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe -mcpu=apple-m1 -debug
# | ^
# | <stdin>:2:32: note: possible intended match here
# | 'apple-m1' is not a recognized processor for this target (ignoring processor)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\processor-resources-debug.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Args: c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe -mcpu=apple-m1 -debug
# | check:11'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: 'apple-m1' is not a recognized processor for this target (ignoring processor)
# | check:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:11'1 ? possible intended match
# | 3: 'apple-m1' is not a recognized processor for this target (ignoring processor)
# | check:11'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/190132
More information about the llvm-commits
mailing list