[llvm-branch-commits] [llvm] [SystemZ][z/OS] Show instruction encoding in HLASM output (PR #181904)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 10 16:15:09 PDT 2026


github-actions[bot] wrote:

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

* 133328 tests passed
* 3083 tests skipped
* 2 tests failed

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

### Clang Tools
<details>
<summary>Clang Tools.clang-doc/json/concept.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-doc\json\Output\concept.cpp.tmp && mkdir -p C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-doc\json\Output\concept.cpp.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-doc\json\Output\concept.cpp.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-doc\json\Output\concept.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
clang-doc --extra-arg -std=c++20 --output=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-doc\json\Output\concept.cpp.tmp --format=html --executor=standalone C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json\concept.cpp
# executed command: clang-doc --extra-arg -std=c++20 '--output=C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-doc\json\Output\concept.cpp.tmp' --format=html --executor=standalone 'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json\concept.cpp'
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 1 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json\concept.cpp"
# | No compilation database found in C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json or any parent directory
# | fixed-compilation-database: Error while opening fixed database: no such file or directory
# | json-compilation-database: Error while opening JSON database: no such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 3
FileCheck C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json\concept.cpp < C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-doc\json\Output\concept.cpp.tmp/json/GlobalNamespace/index.json
# executed command: FileCheck 'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json\concept.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json\concept.cpp:24:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: "IsType": true,
# |                ^
# | <stdin>:16:24: note: scanning from here
# |  "InfoType": "concept",
# |                        ^
# | <stdin>:17:2: note: possible intended match here
# |  "IsType": false,
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-doc\json\concept.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           11:  } 
# |           12:  ] 
# |           13:  ] 
# |           14:  }, 
# |           15:  "End": true, 
# |           16:  "InfoType": "concept", 
# | next:24'0                            X error: no match found
# |           17:  "IsType": false, 
# | next:24'0     ~~~~~~~~~~~~~~~~~~
# | next:24'1      ?                 possible intended match
# |           18:  "Location": { 
# | next:24'0     ~~~~~~~~~~~~~~~
# |           19:  "Filename": "C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-doc\\json\\concept.cpp", 
# | next:24'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           20:  "LineNumber": 6 
# | next:24'0     ~~~~~~~~~~~~~~~~~
# |           21:  }, 
# | next:24'0     ~~~~
# |           22:  "Name": "Incrementable", 
# | next:24'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

### LLVM
<details>
<summary>LLVM.MC/SystemZ/insn-good-zos-pcrel.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe -triple s390x-ibm-zos -show-encoding C:\_work\llvm-project\llvm-project\llvm\test\MC\SystemZ\insn-good-zos-pcrel.s | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\MC\SystemZ\insn-good-zos-pcrel.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' -triple s390x-ibm-zos -show-encoding 'C:\_work\llvm-project\llvm-project\llvm\test\MC\SystemZ\insn-good-zos-pcrel.s'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\MC\SystemZ\insn-good-zos-pcrel.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\SystemZ\insn-good-zos-pcrel.s:6:9: error: CHECK: expected string not found in input
# | *CHECK: brcl 0, FOO
# |         ^
# | <stdin>:4:58: note: scanning from here
# | * fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL
# |                                                          ^
# | <stdin>:5:2: note: possible intended match here
# |  brcl 0,FOO 
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\MC\SystemZ\insn-good-zos-pcrel.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: #C CSECT  
# |            2: C_CODE64 CATTR ALIGN(3),FILL(0),READONLY,RMODE(64)  
# |            3: * encoding: [0xc0,0x04,A,A,A,A] 
# |            4: * fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL 
# | check:6'0                                                              X error: no match found
# |            5:  brcl 0,FOO  
# | check:6'0     ~~~~~~~~~~~~~
# | check:6'1      ?            possible intended match
# |            6: * encoding: [0xc0,0x04,A,A,A,A] 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            7: * fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8:  jlnop FOO  
# | check:6'0     ~~~~~~~~~~~~
# |            9: * encoding: [0xc0,0x84,A,A,A,A] 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10: * fixup A - offset: 2, value: FOO+2, kind: FK_390_PC32DBL 
# | check:6'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/181904


More information about the llvm-branch-commits mailing list