[llvm] [ARM] Custom lower abdu and abds (PR #182696)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 21 14:12:46 PDT 2026


github-actions[bot] wrote:

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

* 136054 tests passed
* 3461 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/ARM/abds-neg.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=arm-eabi -mattr=+v4t C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abds-neg.ll -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abds-neg.ll  --check-prefixes=CHECK,CHECK-ARM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=arm-eabi -mattr=+v4t 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abds-neg.ll' -o -
# 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\abds-neg.ll' --check-prefixes=CHECK,CHECK-ARM
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abds-neg.ll:837:19: error: CHECK-ARM-NEXT: expected string not found in input
# | ; CHECK-ARM-NEXT: lsl r3, r0, #24
# |                   ^
# | <stdin>:426:9: note: scanning from here
# | @ %bb.0:
# |         ^
# | <stdin>:427:2: note: possible intended match here
# |  lsl r0, r0, #24
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abds-neg.ll:868:19: error: CHECK-ARM-NEXT: expected string not found in input
# | ; CHECK-ARM-NEXT: lsl r3, r0, #16
# |                   ^
# | <stdin>:445:9: note: scanning from here
# | @ %bb.0:
# |         ^
# | <stdin>:446:2: note: possible intended match here
# |  lsl r0, r0, #16
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abds-neg.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           421:  .p2align 2 
# |           422:  .type abd_cmp_i8,%function 
# |           423:  .code 32 
# |           424: abd_cmp_i8: @ @abd_cmp_i8 
# |           425:  .fnstart 
# |           426: @ %bb.0: 
# | next:837'0             X error: no match found
# |           427:  lsl r0, r0, #24 
# | next:837'0     ~~~~~~~~~~~~~~~~~
# | next:837'1      ?                possible intended match
# |           428:  lsl r1, r1, #24 
# | next:837'0     ~~~~~~~~~~~~~~~~~
# |           429:  asr r0, r0, #24 
# | next:837'0     ~~~~~~~~~~~~~~~~~
# |           430:  sub r0, r0, r1, asr #24 
# | next:837'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           431:  cmp r0, #0 
# | next:837'0     ~~~~~~~~~~~~
# |           432:  rsbpl r0, r0, #0 
# | next:837'0     ~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           440:  .p2align 2 
# | next:837'0     ~~~~~~~~~~~~
# |           441:  .type abd_cmp_i16,%function 
# | next:837'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           442:  .code 32 
# | next:837'0     ~~~~~~~~~~
# |           443: abd_cmp_i16: @ @abd_cmp_i16 
# | next:837'0     ~~~~~~~~~~~~
# |           444:  .fnstart 
# |           445: @ %bb.0: 
# | next:868'0             X error: no match found
# |           446:  lsl r0, r0, #16 
# | next:868'0     ~~~~~~~~~~~~~~~~~
# | next:868'1      ?                possible intended match
# |           447:  lsl r1, r1, #16 
# | next:868'0     ~~~~~~~~~~~~~~~~~
# |           448:  asr r0, r0, #16 
# | next:868'0     ~~~~~~~~~~~~~~~~~
# |           449:  sub r0, r0, r1, asr #16 
# | next:868'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           450:  cmp r0, #0 
# | next:868'0     ~~~~~~~~~~~~
# |           451:  rsbpl r0, r0, #0 
# | next:868'0     ~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/ARM/abdu-neg.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=arm-eabi -mattr=+v4t C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abdu-neg.ll -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abdu-neg.ll  --check-prefixes=CHECK,CHECK-ARM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=arm-eabi -mattr=+v4t 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abdu-neg.ll' -o -
# 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\abdu-neg.ll' --check-prefixes=CHECK,CHECK-ARM
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abdu-neg.ll:771:19: error: CHECK-ARM-NEXT: expected string not found in input
# | ; CHECK-ARM-NEXT: and r12, r1, #255
# |                   ^
# | <stdin>:434:9: note: scanning from here
# | @ %bb.0:
# |         ^
# | <stdin>:435:2: note: possible intended match here
# |  and r1, r1, #255
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abdu-neg.ll:801:19: error: CHECK-ARM-NEXT: expected string not found in input
# | ; CHECK-ARM-NEXT: .save {r11, lr}
# |                   ^
# | <stdin>:451:9: note: scanning from here
# | @ %bb.0:
# |         ^
# | <stdin>:454:4: note: possible intended match here
# |  and r1, r1, r2
# |    ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\ARM\abdu-neg.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           429:  .p2align 2 
# |           430:  .type abd_cmp_i8,%function 
# |           431:  .code 32 
# |           432: abd_cmp_i8: @ @abd_cmp_i8 
# |           433:  .fnstart 
# |           434: @ %bb.0: 
# | next:771'0             X error: no match found
# |           435:  and r1, r1, #255 
# | next:771'0     ~~~~~~~~~~~~~~~~~~
# | next:771'1      ?                 possible intended match
# |           436:  and r0, r0, #255 
# | next:771'0     ~~~~~~~~~~~~~~~~~~
# |           437:  subs r0, r0, r1 
# | next:771'0     ~~~~~~~~~~~~~~~~~
# |           438:  rsbpl r0, r0, #0 
# | next:771'0     ~~~~~~~~~~~~~~~~~~
# |           439:  bx lr 
# | next:771'0     ~~~~~~~
# |           440: .Lfunc_end18: 
# | next:771'0     ~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           446:  .p2align 2 
# | next:771'0     ~~~~~~~~~~~~
# |           447:  .type abd_cmp_i16,%function 
# | next:771'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           448:  .code 32 
# | next:771'0     ~~~~~~~~~~
# |           449: abd_cmp_i16: @ @abd_cmp_i16 
# | next:771'0     ~~~~~~~~~~~~
# |           450:  .fnstart 
# |           451: @ %bb.0: 
# | next:801'0             X error: no match found
# |           452:  mov r2, #255 
# | next:801'0     ~~~~~~~~~~~~~~
# |           453:  orr r2, r2, #65280 
# | next:801'0     ~~~~~~~~~~~~~~~~~~~~
# |           454:  and r1, r1, r2 
# | next:801'0     ~~~~~~~~~~~~~~~~
# | next:801'1        ?             possible intended match
# |           455:  and r0, r0, r2 
# | next:801'0     ~~~~~~~~~~~~~~~~
# |           456:  subs r0, r0, r1 
# | next:801'0     ~~~~~~~~~~~~~~~~~
# |           457:  rsbpl r0, r0, #0 
# | next:801'0     ~~~~~~~~~~~~~~~~~~
# |           458:  bx lr 
# | next:801'0     ~~~~~~~
# |           459: .Lfunc_end19: 
# | next:801'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/182696


More information about the llvm-commits mailing list