[llvm] [AArch64] fuse constant addition after sbb (PR #185117)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 7 07:51:35 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 170852 tests passed
* 3019 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/sbc-add-constant.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sbc-add-constant.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sbc-add-constant.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
# 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/llvm/test/CodeGen/AArch64/sbc-add-constant.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sbc-add-constant.ll:13:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: subs x8, x0, x1
# |               ^
# | <stdin>:7:10: note: scanning from here
# | // %bb.0:
# |          ^
# | <stdin>:9:2: note: possible intended match here
# |  subs x9, x0, x1
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/sbc-add-constant.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  .file "<stdin>" 
# |            2:  .text 
# |            3:  .globl g_i64 // -- Begin function g_i64 
# |            4:  .p2align 2 
# |            5:  .type g_i64, at function 
# |            6: g_i64: // @g_i64 
# |            7: // %bb.0: 
# | next:13'0              X error: no match found
# |            8:  mov x8, #-10 // =0xfffffffffffffff6 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9:  subs x9, x0, x1 
# | next:13'0     ~~~~~~~~~~~~~~~~~
# | next:13'1      ?                possible intended match
# |           10:  sbc x0, x9, x8 
# | next:13'0     ~~~~~~~~~~~~~~~~
# |           11:  ret 
# | next:13'0     ~~~~~
# |           12: .Lfunc_end0: 
# | next:13'0     ~~~~~~~~~~~~~
# |           13:  .size g_i64, .Lfunc_end0-g_i64 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14:  // -- End function 
# | next:13'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/185117


More information about the llvm-commits mailing list