[llvm] [AArch64] Extend condition optimizer to support unsigned comparisons (PR #144380)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 08:12:30 PST 2026


github-actions[bot] wrote:

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

* 130084 tests passed
* 2879 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/aarch64-condopt-unsigned.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=aarch64 -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir -run-pass=aarch64-condopt | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=aarch64 -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir' -run-pass=aarch64-condopt
# 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\AArch64\aarch64-condopt-unsigned.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir:30:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[SUBSWri:%[0-9]+]]:gpr32 = SUBSWri [[COPY]], 10, 0, implicit-def $nzcv
# |                ^
# | <stdin>:103:27: note: scanning from here
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:103:27: note: with "COPY" equal to "%0"
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:104:2: note: possible intended match here
# |  %1:gpr32 = SUBSWri %0, 11, 0, implicit-def $nzcv
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir:90:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[SUBSWri1:%[0-9]+]]:gpr32 = SUBSWri [[COPY]], 11, 0, implicit-def $nzcv
# |                ^
# | <stdin>:192:2: note: scanning from here
# |  
# |  ^
# | <stdin>:192:2: note: with "COPY" equal to "%0"
# |  
# |  ^
# | <stdin>:193:2: note: possible intended match here
# |  %2:gpr32 = SUBSWri %0, 10, 0, implicit-def $nzcv
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir:135:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[SUBSWri:%[0-9]+]]:gpr32 = SUBSWri [[COPY]], 10, 0, implicit-def $nzcv
# |                ^
# | <stdin>:265:27: note: scanning from here
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:265:27: note: with "COPY" equal to "%0"
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:266:2: note: possible intended match here
# |  %1:gpr32 = SUBSWri %0, 11, 0, implicit-def $nzcv
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir:194:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[ADDSWri1:%[0-9]+]]:gpr32 = ADDSWri [[COPY]], 2, 0, implicit-def $nzcv
# |                ^
# | <stdin>:354:2: note: scanning from here
# |  
# |  ^
# | <stdin>:354:2: note: with "COPY" equal to "%0"
# |  
# |  ^
# | <stdin>:355:2: note: possible intended match here
# |  %2:gpr32 = ADDSWri %0, 1, 0, implicit-def $nzcv
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir:239:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[SUBSWri:%[0-9]+]]:gpr32 = SUBSWri [[COPY]], 0, 0, implicit-def $nzcv
# |                ^
# | <stdin>:427:27: note: scanning from here
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:427:27: note: with "COPY" equal to "%0"
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:428:2: note: possible intended match here
# |  %1:gpr32 = SUBSWri %0, 1, 0, implicit-def $nzcv
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir:290:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[SUBSWri:%[0-9]+]]:gpr32 = SUBSWri [[COPY]], 10, 0, implicit-def $nzcv
# |                ^
# | <stdin>:508:27: note: scanning from here
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:508:27: note: with "COPY" equal to "%0"
# |  %0:gpr32common = COPY $w0
# |                           ^
# | <stdin>:509:2: note: possible intended match here
# |  %1:gpr32 = SUBSWri %0, 11, 0, implicit-def $nzcv
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir:339:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[SUBSXri:%[0-9]+]]:gpr64 = SUBSXri [[COPY]], 10, 0, implicit-def $nzcv
# |                ^
# | <stdin>:589:27: note: scanning from here
# |  %0:gpr64common = COPY $x0
# |                           ^
# | <stdin>:589:27: note: with "COPY" equal to "%0"
# |  %0:gpr64common = COPY $x0
# |                           ^
# | <stdin>:590:2: note: possible intended match here
# |  %1:gpr64 = SUBSXri %0, 11, 0, implicit-def $nzcv
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\aarch64-condopt-unsigned.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            98: body: | 
# |            99:  bb.0: 
# |           100:  successors: %bb.1(0x40000000), %bb.2(0x40000000) 
# |           101:  liveins: $w0 
# |           102:   
# |           103:  %0:gpr32common = COPY $w0 
# | next:30'0                                X error: no match found
# | next:30'1                                  with "COPY" equal to "%0"
# |           104:  %1:gpr32 = SUBSWri %0, 11, 0, implicit-def $nzcv 
# | next:30'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:30'2       ?                                                 possible intended match
# |           105:  Bcc 2, %bb.1, implicit $nzcv 
# | next:30'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           106:  B %bb.2 
# | next:30'0      ~~~~~~~~~
# |           107:   
# | next:30'0      ~~
# |           108:  bb.1: 
# | next:30'0      ~~~~~~~
# |           109:  successors: %bb.2(0x80000000) 
# | next:30'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           187:  B %bb.2 
# |           188:   
# |           189:  bb.1: 
# |           190:  successors: %bb.2(0x80000000) 
# |           191:  liveins: $w0 
# |           192:   
# | next:90'0       X error: no match found
# | next:90'1         with "COPY" equal to "%0"
# |           193:  %2:gpr32 = SUBSWri %0, 10, 0, implicit-def $nzcv 
# | next:90'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:90'2       ?                                                 possible intended match
# |           194:  Bcc 9, %bb.2, implicit $nzcv 
# | next:90'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           195:  B %bb.2 
# | next:90'0      ~~~~~~~~~
# |           196:   
# | next:90'0      ~~
# |           197:  bb.2: 
# | next:90'0      ~~~~~~~
# |           198:  liveins: $w0 
# | next:90'0      ~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           260: body: | 
# |           261:  bb.0: 
# |           262:  successors: %bb.1(0x40000000), %bb.2(0x40000000) 
# |           263:  liveins: $w0 
# |           264:   
# |           265:  %0:gpr32common = COPY $w0 
# | next:135'0                               X error: no match found
# | next:135'1                                 with "COPY" equal to "%0"
# |           266:  %1:gpr32 = SUBSWri %0, 11, 0, implicit-def $nzcv 
# | next:135'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:135'2      ?                                                 possible intended match
# |           267:  Bcc 2, %bb.1, implicit $nzcv 
# | next:135'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           268:  B %bb.2 
# | next:135'0     ~~~~~~~~~
# |           269:   
# | next:135'0     ~~
# |           270:  bb.1: 
# | next:135'0     ~~~~~~~
# |           271:  successors: %bb.2(0x80000000) 
# | next:135'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           349:  B %bb.2 
# |           350:   
# |           351:  bb.1: 
# |           352:  successors: %bb.2(0x80000000) 
# |           353:  liveins: $w0 
# |           354:   
# | next:194'0      X error: no match found
# | next:194'1        with "COPY" equal to "%0"
# |           355:  %2:gpr32 = ADDSWri %0, 1, 0, implicit-def $nzcv 
# | next:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:194'2      ?                                                possible intended match
# |           356:  Bcc 2, %bb.2, implicit $nzcv 
# | next:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           357:  B %bb.2 
# | next:194'0     ~~~~~~~~~
# |           358:   
# | next:194'0     ~~
# |           359:  bb.2: 
# | next:194'0     ~~~~~~~
# |           360:  liveins: $w0 
# | next:194'0     ~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           422: body: | 
# |           423:  bb.0: 
# |           424:  successors: %bb.1(0x40000000), %bb.2(0x40000000) 
# |           425:  liveins: $w0 
# |           426:   
# |           427:  %0:gpr32common = COPY $w0 
# | next:239'0                               X error: no match found
# | next:239'1                                 with "COPY" equal to "%0"
# |           428:  %1:gpr32 = SUBSWri %0, 1, 0, implicit-def $nzcv 
# | next:239'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:239'2      ?                                                possible intended match
# |           429:  Bcc 2, %bb.1, implicit $nzcv 
# | next:239'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           430:  B %bb.2 
# | next:239'0     ~~~~~~~~~
# |           431:   
# | next:239'0     ~~
# |           432:  bb.1: 
# | next:239'0     ~~~~~~~
# |           433:  successors: %bb.2(0x80000000) 
# | next:239'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           503: body: | 
# |           504:  bb.0: 
# |           505:  successors: %bb.1(0x40000000), %bb.2(0x40000000) 
# |           506:  liveins: $w0 
# |           507:   
# |           508:  %0:gpr32common = COPY $w0 
# | next:290'0                               X error: no match found
# | next:290'1                                 with "COPY" equal to "%0"
# |           509:  %1:gpr32 = SUBSWri %0, 11, 0, implicit-def $nzcv 
# | next:290'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:290'2      ?                                                 possible intended match
# |           510:  Bcc 10, %bb.1, implicit $nzcv 
# | next:290'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           511:  B %bb.2 
# | next:290'0     ~~~~~~~~~
# |           512:   
# | next:290'0     ~~
# |           513:  bb.1: 
# | next:290'0     ~~~~~~~
# |           514:  successors: %bb.2(0x80000000) 
# | next:290'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           584: body: | 
# |           585:  bb.0: 
# |           586:  successors: %bb.1(0x40000000), %bb.2(0x40000000) 
# |           587:  liveins: $x0 
# |           588:   
# |           589:  %0:gpr64common = COPY $x0 
# | next:339'0                               X error: no match found
# | next:339'1                                 with "COPY" equal to "%0"
# |           590:  %1:gpr64 = SUBSXri %0, 11, 0, implicit-def $nzcv 
# | next:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:339'2      ?                                                 possible intended match
# |           591:  Bcc 2, %bb.1, implicit $nzcv 
# | next:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           592:  B %bb.2 
# | next:339'0     ~~~~~~~~~
# |           593:   
# | next:339'0     ~~
# |           594:  bb.1: 
# | next:339'0     ~~~~~~~
# |           595:  successors: %bb.2(0x80000000) 
# | next:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/AArch64/combine-comparisons-by-cse.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -debugify-and-strip-all-safe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll -mtriple=aarch64-linux-gnu | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -debugify-and-strip-all-safe -mtriple=aarch64-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\AArch64\combine-comparisons-by-cse.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1032:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.ls .LBB12_3
# |               ^
# | <stdin>:657:27: note: scanning from here
# |  ldr x8, [x8, :got_lo12:b]
# |                           ^
# | <stdin>:658:2: note: possible intended match here
# |  b.ls .LBB16_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1095:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.ls .LBB13_3
# |               ^
# | <stdin>:697:12: note: scanning from here
# |  cmp w8, #5
# |            ^
# | <stdin>:698:2: note: possible intended match here
# |  b.ls .LBB17_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1164:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.hs .LBB14_3
# |               ^
# | <stdin>:743:27: note: scanning from here
# |  ldr x8, [x8, :got_lo12:b]
# |                           ^
# | <stdin>:744:2: note: possible intended match here
# |  b.hs .LBB18_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1227:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.hs .LBB15_3
# |               ^
# | <stdin>:783:12: note: scanning from here
# |  cmp w8, #5
# |            ^
# | <stdin>:784:2: note: possible intended match here
# |  b.hs .LBB19_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1294:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.ls .LBB16_3
# |               ^
# | <stdin>:827:12: note: scanning from here
# |  cmn w8, #5
# |            ^
# | <stdin>:828:2: note: possible intended match here
# |  b.ls .LBB20_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1361:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.hs .LBB17_3
# |               ^
# | <stdin>:871:12: note: scanning from here
# |  cmn w8, #5
# |            ^
# | <stdin>:872:2: note: possible intended match here
# |  b.hs .LBB21_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1429:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.hs .LBB18_3
# |               ^
# | <stdin>:915:12: note: scanning from here
# |  cmn w8, #5
# |            ^
# | <stdin>:916:2: note: possible intended match here
# |  b.hs .LBB22_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1499:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: b.lo .LBB19_3
# |               ^
# | <stdin>:956:12: note: scanning from here
# |  cmp w0, #2
# |            ^
# | <stdin>:957:2: note: possible intended match here
# |  b.lo .LBB23_3
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll:1625:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: cbz w9, .LBB21_2
# |               ^
# | <stdin>:1037:15: note: scanning from here
# |  str x10, [x1]
# |               ^
# | <stdin>:1038:2: note: possible intended match here
# |  cbz w9, .LBB25_2
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\combine-comparisons-by-cse.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            652:  adrp x8, :got:a 
# |            653:  ldr x8, [x8, :got_lo12:a] 
# |            654:  ldr w8, [x8] 
# |            655:  cmp w8, #10 
# |            656:  adrp x8, :got:b 
# |            657:  ldr x8, [x8, :got_lo12:b] 
# | next:1032'0                               X error: no match found
# |            658:  b.ls .LBB16_3 
# | next:1032'0     ~~~~~~~~~~~~~~~
# | next:1032'1      ?              possible intended match
# |            659: // %bb.1: // %land.lhs.true 
# | next:1032'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            660:  adrp x9, :got:c 
# | next:1032'0     ~~~~~~~~~~~~~~~~~
# |            661:  ldr x9, [x9, :got_lo12:c] 
# | next:1032'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            662:  ldr w10, [x8] 
# | next:1032'0     ~~~~~~~~~~~~~~~
# |            663:  ldr w9, [x9] 
# | next:1032'0     ~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            692:  .cfi_startproc 
# |            693: // %bb.0: // %entry 
# |            694:  adrp x8, :got:a 
# |            695:  ldr x8, [x8, :got_lo12:a] 
# |            696:  ldr w8, [x8] 
# |            697:  cmp w8, #5 
# | next:1095'0                X error: no match found
# |            698:  b.ls .LBB17_3 
# | next:1095'0     ~~~~~~~~~~~~~~~
# | next:1095'1      ?              possible intended match
# |            699: // %bb.1: // %land.lhs.true 
# | next:1095'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            700:  adrp x8, :got:b 
# | next:1095'0     ~~~~~~~~~~~~~~~~~
# |            701:  adrp x9, :got:c 
# | next:1095'0     ~~~~~~~~~~~~~~~~~
# |            702:  ldr x8, [x8, :got_lo12:b] 
# | next:1095'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            703:  ldr x9, [x9, :got_lo12:c] 
# | next:1095'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            738:  adrp x8, :got:a 
# |            739:  ldr x8, [x8, :got_lo12:a] 
# |            740:  ldr w8, [x8] 
# |            741:  cmp w8, #5 
# |            742:  adrp x8, :got:b 
# |            743:  ldr x8, [x8, :got_lo12:b] 
# | next:1164'0                               X error: no match found
# |            744:  b.hs .LBB18_3 
# | next:1164'0     ~~~~~~~~~~~~~~~
# | next:1164'1      ?              possible intended match
# |            745: // %bb.1: // %land.lhs.true 
# | next:1164'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            746:  adrp x9, :got:c 
# | next:1164'0     ~~~~~~~~~~~~~~~~~
# |            747:  ldr x9, [x9, :got_lo12:c] 
# | next:1164'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            748:  ldr w10, [x8] 
# | next:1164'0     ~~~~~~~~~~~~~~~
# |            749:  ldr w9, [x9] 
# | next:1164'0     ~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            778:  .cfi_startproc 
# |            779: // %bb.0: // %entry 
# |            780:  adrp x8, :got:a 
# |            781:  ldr x8, [x8, :got_lo12:a] 
# |            782:  ldr w8, [x8] 
# |            783:  cmp w8, #5 
# | next:1227'0                X error: no match found
# |            784:  b.hs .LBB19_3 
# | next:1227'0     ~~~~~~~~~~~~~~~
# | next:1227'1      ?              possible intended match
# |            785: // %bb.1: // %land.lhs.true 
# | next:1227'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            786:  adrp x8, :got:b 
# | next:1227'0     ~~~~~~~~~~~~~~~~~
# |            787:  adrp x9, :got:c 
# | next:1227'0     ~~~~~~~~~~~~~~~~~
# |            788:  ldr x8, [x8, :got_lo12:b] 
# | next:1227'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            789:  ldr x9, [x9, :got_lo12:c] 
# | next:1227'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            822:  .cfi_startproc 
# |            823: // %bb.0: // %entry 
# |            824:  adrp x8, :got:a 
# |            825:  ldr x8, [x8, :got_lo12:a] 
# |            826:  ldr w8, [x8] 
# |            827:  cmn w8, #5 
# | next:1294'0                X error: no match found
# |            828:  b.ls .LBB20_3 
# | next:1294'0     ~~~~~~~~~~~~~~~
# | next:1294'1      ?              possible intended match
# |            829: // %bb.1: // %land.lhs.true 
# | next:1294'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            830:  adrp x8, :got:b 
# | next:1294'0     ~~~~~~~~~~~~~~~~~
# |            831:  adrp x9, :got:c 
# | next:1294'0     ~~~~~~~~~~~~~~~~~
# |            832:  ldr x8, [x8, :got_lo12:b] 
# | next:1294'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            833:  ldr x9, [x9, :got_lo12:c] 
# | next:1294'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            866:  .cfi_startproc 
# |            867: // %bb.0: // %entry 
# |            868:  adrp x8, :got:a 
# |            869:  ldr x8, [x8, :got_lo12:a] 
# |            870:  ldr w8, [x8] 
# |            871:  cmn w8, #5 
# | next:1361'0                X error: no match found
# |            872:  b.hs .LBB21_3 
# | next:1361'0     ~~~~~~~~~~~~~~~
# | next:1361'1      ?              possible intended match
# |            873: // %bb.1: // %land.lhs.true 
# | next:1361'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            874:  adrp x8, :got:b 
# | next:1361'0     ~~~~~~~~~~~~~~~~~
# |            875:  adrp x9, :got:c 
# | next:1361'0     ~~~~~~~~~~~~~~~~~
# |            876:  ldr x8, [x8, :got_lo12:b] 
# | next:1361'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            877:  ldr x9, [x9, :got_lo12:c] 
# | next:1361'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            910:  .cfi_startproc 
# |            911: // %bb.0: // %entry 
# |            912:  adrp x8, :got:a 
# |            913:  ldr x8, [x8, :got_lo12:a] 
# |            914:  ldr w8, [x8] 
# |            915:  cmn w8, #5 
# | next:1429'0                X error: no match found
# |            916:  b.hs .LBB22_3 
# | next:1429'0     ~~~~~~~~~~~~~~~
# | next:1429'1      ?              possible intended match
# |            917: // %bb.1: // %land.lhs.true 
# | next:1429'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            918:  adrp x8, :got:b 
# | next:1429'0     ~~~~~~~~~~~~~~~~~
# |            919:  adrp x9, :got:c 
# | next:1429'0     ~~~~~~~~~~~~~~~~~
# |            920:  ldr x8, [x8, :got_lo12:b] 
# | next:1429'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            921:  ldr x9, [x9, :got_lo12:c] 
# | next:1429'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            951:  .p2align 2 
# | next:1429'0     ~~~~~~~~~~~~
# |            952:  .type fcmpri_u, at function 
# | next:1429'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            953: fcmpri_u: // @fcmpri_u 
# | next:1429'0     ~~~~~~~~~
# |            954:  .cfi_startproc 
# |            955: // %bb.0: // %entry 
# |            956:  cmp w0, #2 
# | next:1499'0                X error: no match found
# |            957:  b.lo .LBB23_3 
# | next:1499'0     ~~~~~~~~~~~~~~~
# | next:1499'1      ?              possible intended match
# |            958: // %bb.1: // %land.lhs.true 
# | next:1499'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            959:  ldr x8, [x1, #8] 
# | next:1499'0     ~~~~~~~~~~~~~~~~~~
# |            960:  cbz x8, .LBB23_3 
# | next:1499'0     ~~~~~~~~~~~~~~~~~~
# |            961: // %bb.2: 
# | next:1499'0     ~~~~~~~~~~
# |            962:  mov w0, #3 // =0x3 
# | next:1499'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1032:  ldr w9, [x8] 
# |           1033:  adrp x8, :got:b 
# |           1034:  ldr x8, [x8, :got_lo12:b] 
# |           1035:  cmp w9, #0 
# |           1036:  csel x10, x0, xzr, ne 
# |           1037:  str x10, [x1] 
# | next:1625'0                   X error: no match found
# |           1038:  cbz w9, .LBB25_2 
# | next:1625'0     ~~~~~~~~~~~~~~~~~~
# | next:1625'1      ?                 possible intended match
# |           1039: // %bb.1: // %lor.lhs.false 
# | next:1625'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1040:  cmp w9, #2 
# | next:1625'0     ~~~~~~~~~~~~
# |           1041:  b.hs .LBB25_4 
# | next:1625'0     ~~~~~~~~~~~~~~~
# |           1042:  b .LBB25_6 
# | next:1625'0     ~~~~~~~~~~~~
# |           1043: .LBB25_2: // %land.lhs.true 
# | next:1625'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/144380


More information about the llvm-commits mailing list