[llvm] [ARM] Correction: hasNOP should be HasV6Ops, not HasV6KOps (PR #196625)
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 10 11:38:53 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 134499 tests passed
* 3259 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/ARM/xray-armv6-attribute-instrumentation.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=armv6-unknown-linux-gnu < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\xray-armv6-attribute-instrumentation.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\xray-armv6-attribute-instrumentation.ll --check-prefixes=CHECK,CHECK-LINUX
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=armv6-unknown-linux-gnu
# 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\CodeGen\ARM\xray-armv6-attribute-instrumentation.ll' --check-prefixes=CHECK,CHECK-LINUX
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\xray-armv6-attribute-instrumentation.ll:7:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: hint #0
# | ^
# | <stdin>:28:7: note: scanning from here
# | b #20
# | ^
# | <stdin>:36:6: note: possible intended match here
# | mov r0, #0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\xray-armv6-attribute-instrumentation.ll:17:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: hint #0
# | ^
# | <stdin>:39:7: note: scanning from here
# | b #20
# | ^
# | <stdin>:49:3: note: possible intended match here
# | .size foo, .Lfunc_end0-foo
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\xray-armv6-attribute-instrumentation.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 23: .Lfunc_begin0:
# | 24: .fnstart
# | 25: @ %bb.0:
# | 26: .p2align 2
# | 27: .Lxray_sled_0:
# | 28: b #20
# | next:7'0 X error: no match found
# | 29: nop
# | next:7'0 ~~~~~
# | 30: nop
# | next:7'0 ~~~~~
# | 31: nop
# | next:7'0 ~~~~~
# | 32: nop
# | next:7'0 ~~~~~
# | 33: nop
# | next:7'0 ~~~~~
# | 34: nop
# | next:7'0 ~~~~~
# | 35: .Ltmp0:
# | next:7'0 ~~~~~~~~
# | 36: mov r0, #0
# | next:7'0 ~~~~~~~~~~~~
# | next:7'1 ? possible intended match
# | 37: .p2align 2
# | next:7'0 ~~~~~~~~~~~~
# | 38: .Lxray_sled_1:
# | next:7'0 ~~~~~~~~~~~~~~
# | 39: b #20
# | next:17'0 X error: no match found
# | 40: nop
# | next:17'0 ~~~~~
# | 41: nop
# | next:17'0 ~~~~~
# | 42: nop
# | next:17'0 ~~~~~
# | 43: nop
# | next:17'0 ~~~~~
# | 44: nop
# | next:17'0 ~~~~~
# | 45: nop
# | next:17'0 ~~~~~
# | 46: .Ltmp1:
# | next:17'0 ~~~~~~~~
# | 47: bx lr
# | next:17'0 ~~~~~~~
# | 48: .Lfunc_end0:
# | next:17'0 ~~~~~~~~~~~~~
# | 49: .size foo, .Lfunc_end0-foo
# | next:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:17'1 ? possible intended match
# | 50: .fnend
# | next:17'0 ~~~~~~~~
# | 51: @ -- End function
# | next:17'0 ~~~~~~~~~~~~~~~~~~~
# | 52: .section xray_instr_map,"ao",%progbits,foo
# | next:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 53: .Lxray_sleds_start0:
# | 54: .Ltmp2:
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.MC/ARM/arm11-hint-instr.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
not c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe -triple=armv6 -show-encoding < C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\arm11-hint-instr.s > C:\_work\llvm-project\llvm-project\build\test\MC\ARM\Output\arm11-hint-instr.s.tmp1 2> C:\_work\llvm-project\llvm-project\build\test\MC\ARM\Output\arm11-hint-instr.s.tmp2
# executed command: not 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' -triple=armv6 -show-encoding
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CHECK-V6 C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\arm11-hint-instr.s < C:\_work\llvm-project\llvm-project\build\test\MC\ARM\Output\arm11-hint-instr.s.tmp1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=CHECK-V6 'C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\arm11-hint-instr.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\arm11-hint-instr.s:31:13: error: CHECK-V6: expected string not found in input
# | @ CHECK-V6: mov r0, r0 @ encoding: [0x00,0x00,0xa0,0xe1]
# | ^
# | <stdin>:1:1: note: scanning from here
# |
# | ^
# | <stdin>:3:2: note: possible intended match here
# | nop @ encoding: [0x00,0xf0,0x20,0xe3]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\arm11-hint-instr.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1:
# | check:31'0 X error: no match found
# | 2:
# | check:31'0 ~
# | 3: nop @ encoding: [0x00,0xf0,0x20,0xe3]
# | check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:31'1 ? possible intended match
# | 4:
# | check:31'0 ~
# | 5:
# | check:31'0 ~
# | 6:
# | check:31'0 ~
# | 7:
# | check:31'0 ~
# | 8:
# | check:31'0 ~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.MC/ARM/subtarget-nop.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\subtarget-nop.s --triple=arm-linux-gnueabihf -filetype=obj | c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --no-show-raw-insn --triple=armv7 -d - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\subtarget-nop.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\subtarget-nop.s' --triple=arm-linux-gnueabihf -filetype=obj
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --no-show-raw-insn --triple=armv7 -d -
# 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\ARM\subtarget-nop.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\subtarget-nop.s:29:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: 4: mov r0, r0
# | ^
# | <stdin>:7:15: note: scanning from here
# | 0: mov r1, r0
# | ^
# | <stdin>:9:2: note: possible intended match here
# | 8: mov r0, r0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\MC\ARM\subtarget-nop.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1:
# | 2: <stdin>: file format elf32-littlearm
# | 3:
# | 4: Disassembly of section .text:
# | 5:
# | 6: 00000000 <foo>:
# | 7: 0: mov r1, r0
# | next:29'0 X error: no match found
# | 8: 4: nop
# | next:29'0 ~~~~~~~~
# | 9: 8: mov r0, r0
# | next:29'0 ~~~~~~~~~~~~~~~
# | next:29'1 ? possible intended match
# | 10: c: mov r0, r0
# | next:29'0 ~~~~~~~~~~~~~~~
# | 11: 10: bx lr
# | next:29'0 ~~~~~~~~~~~
# | 12:
# | next:29'0 ~
# | 13: 00000014 <bar>:
# | next:29'0 ~~~~~~~~~~~~~~~~
# | 14: 14: mov r1, r0
# | next:29'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/196625
More information about the llvm-commits
mailing list