[compiler-rt] [llvm] Adjust and optimize CTPOP lowering (PR #181499)

via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 14 15:32:17 PST 2026


github-actions[bot] wrote:

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

* 169643 tests passed
* 3063 tests skipped
* 9 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/bitmanip.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=riscv32 -global-isel -global-isel-abort=1 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll --check-prefixes=RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -global-isel -global-isel-abort=1
# 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/RISCV/GlobalISel/bitmanip.ll --check-prefixes=RV32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll:268:14: error: RV32-NEXT: expected string not found in input
# | ; RV32-NEXT: addi sp, sp, -16
# |              ^
# | <stdin>:170:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:174:2: note: possible intended match here
# |  addi a1, a1, 1365
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           165:  .globl test_ctpop_i11 # -- Begin function test_ctpop_i11 
# |           166:  .p2align 2 
# |           167:  .type test_ctpop_i11, at function 
# |           168: test_ctpop_i11: # @test_ctpop_i11 
# |           169:  .cfi_startproc 
# |           170: # %bb.0: 
# | next:268'0             X error: no match found
# |           171:  andi a0, a0, 2047 
# | next:268'0     ~~~~~~~~~~~~~~~~~~~
# |           172:  lui a1, 5 
# | next:268'0     ~~~~~~~~~~~
# |           173:  srli a2, a0, 1 
# | next:268'0     ~~~~~~~~~~~~~~~~
# |           174:  addi a1, a1, 1365 
# | next:268'0     ~~~~~~~~~~~~~~~~~~~
# | next:268'1      ?                  possible intended match
# |           175:  and a1, a2, a1 
# | next:268'0     ~~~~~~~~~~~~~~~~
# |           176:  lui a2, 3 
# | next:268'0     ~~~~~~~~~~~
# |           177:  addi a2, a2, 819 
# | next:268'0     ~~~~~~~~~~~~~~~~~~
# |           178:  sub a0, a0, a1 
# | next:268'0     ~~~~~~~~~~~~~~~~
# |           179:  slli a1, a0, 16 
# | next:268'0     ~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir -o -    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir --check-prefix=RV32I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir --check-prefix=RV32I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir:154:16: error: RV32I-NEXT: expected string not found in input
# |  ; RV32I-NEXT: [[C10:%[0-9]+]]:_(s32) = G_CONSTANT i32 257
# |                ^
# | <stdin>:458:29: note: scanning from here
# |  %57:_(s32) = G_AND %61, %58
# |                             ^
# | <stdin>:461:2: note: possible intended match here
# |  %48:_(s32) = G_CONSTANT i32 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           453:  %70:_(s32) = G_AND %79, %73 
# |           454:  %67:_(s32) = G_ADD %72, %70 
# |           455:  %64:_(s32) = G_LSHR %67, %98(s32) 
# |           456:  %61:_(s32) = G_ADD %64, %67 
# |           457:  %58:_(s32) = G_CONSTANT i32 3855 
# |           458:  %57:_(s32) = G_AND %61, %58 
# | next:154'0                                 X error: no match found
# |           459:  %54:_(s32) = G_LSHR %57, %92(s32) 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           460:  %51:_(s32) = G_ADD %57, %54 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           461:  %48:_(s32) = G_CONSTANT i32 255 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:154'1      ?                                possible intended match
# |           462:  %47:_(s32) = G_AND %51, %48 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           463:  %27:_(s32) = G_SUB %28, %47 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           464:  %11:_(s32) = G_SUB %27, %116 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           465:  $x10 = COPY %11(s32) 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           466:  PseudoRET implicit $x10 
# | next:154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir -o -    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir --check-prefix=RV64I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir --check-prefix=RV64I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir:156:16: error: RV64I-NEXT: expected string not found in input
# |  ; RV64I-NEXT: [[C10:%[0-9]+]]:_(s64) = G_CONSTANT i64 257
# |                ^
# | <stdin>:459:29: note: scanning from here
# |  %57:_(s64) = G_AND %61, %58
# |                             ^
# | <stdin>:462:2: note: possible intended match here
# |  %48:_(s64) = G_CONSTANT i64 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           454:  %70:_(s64) = G_AND %79, %73 
# |           455:  %67:_(s64) = G_ADD %72, %70 
# |           456:  %64:_(s64) = G_LSHR %67, %98(s64) 
# |           457:  %61:_(s64) = G_ADD %64, %67 
# |           458:  %58:_(s64) = G_CONSTANT i64 3855 
# |           459:  %57:_(s64) = G_AND %61, %58 
# | next:156'0                                 X error: no match found
# |           460:  %54:_(s64) = G_LSHR %57, %92(s64) 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           461:  %51:_(s64) = G_ADD %57, %54 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           462:  %48:_(s64) = G_CONSTANT i64 255 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:156'1      ?                                possible intended match
# |           463:  %47:_(s64) = G_AND %51, %48 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           464:  %28:_(s64) = G_CONSTANT i64 16 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           465:  %27:_(s64) = G_SUB %28, %47 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           466:  %11:_(s64) = G_SUB %27, %116 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           467:  $x10 = COPY %11(s64) 
# | next:156'0     ~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir -o -  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir --check-prefix=RV32I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir --check-prefix=RV32I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir:115:16: error: RV32I-NEXT: expected string not found in input
# |  ; RV32I-NEXT: [[C8:%[0-9]+]]:_(s32) = G_CONSTANT i32 257
# |                ^
# | <stdin>:431:29: note: scanning from here
# |  %50:_(s32) = G_AND %54, %51
# |                             ^
# | <stdin>:434:2: note: possible intended match here
# |  %41:_(s32) = G_CONSTANT i32 255
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir:413:16: error: RV32I-NEXT: expected string not found in input
# |  ; RV32I-NEXT: [[C8:%[0-9]+]]:_(s32) = G_CONSTANT i32 257
# |                ^
# | <stdin>:1150:29: note: scanning from here
# |  %50:_(s32) = G_AND %54, %51
# |                             ^
# | <stdin>:1153:2: note: possible intended match here
# |  %41:_(s32) = G_CONSTANT i32 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           426:  %63:_(s32) = G_AND %72, %66 
# |           427:  %60:_(s32) = G_ADD %65, %63 
# |           428:  %57:_(s32) = G_LSHR %60, %91(s32) 
# |           429:  %54:_(s32) = G_ADD %57, %60 
# |           430:  %51:_(s32) = G_CONSTANT i32 3855 
# |           431:  %50:_(s32) = G_AND %54, %51 
# | next:115'0                                 X error: no match found
# |           432:  %47:_(s32) = G_LSHR %50, %85(s32) 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           433:  %44:_(s32) = G_ADD %50, %47 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           434:  %41:_(s32) = G_CONSTANT i32 255 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:115'1      ?                                possible intended match
# |           435:  %40:_(s32) = G_AND %44, %41 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           436:  %21:_(s32) = G_CONSTANT i32 16 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           437:  %20:_(s32) = G_SUB %21, %40 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           438:  $x10 = COPY %20(s32) 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           439:  PseudoRET implicit $x10 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |          1145:  %63:_(s32) = G_AND %72, %66 
# |          1146:  %60:_(s32) = G_ADD %65, %63 
# |          1147:  %57:_(s32) = G_LSHR %60, %91(s32) 
# |          1148:  %54:_(s32) = G_ADD %57, %60 
# |          1149:  %51:_(s32) = G_CONSTANT i32 3855 
# |          1150:  %50:_(s32) = G_AND %54, %51 
# | next:413'0                                 X error: no match found
# |          1151:  %47:_(s32) = G_LSHR %50, %85(s32) 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1152:  %44:_(s32) = G_ADD %50, %47 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1153:  %41:_(s32) = G_CONSTANT i32 255 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:413'1      ?                                possible intended match
# |          1154:  %40:_(s32) = G_AND %44, %41 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1155:  %21:_(s32) = G_CONSTANT i32 16 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1156:  %20:_(s32) = G_SUB %21, %40 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1157:  $x10 = COPY %20(s32) 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          1158:  PseudoRET implicit $x10 
# | next:413'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir -o -  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir --check-prefix=RV64I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir --check-prefix=RV64I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir:115:16: error: RV64I-NEXT: expected string not found in input
# |  ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 257
# |                ^
# | <stdin>:431:29: note: scanning from here
# |  %50:_(s64) = G_AND %54, %51
# |                             ^
# | <stdin>:434:2: note: possible intended match here
# |  %41:_(s64) = G_CONSTANT i64 255
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir:390:16: error: RV64I-NEXT: expected string not found in input
# |  ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 257
# |                ^
# | <stdin>:1187:29: note: scanning from here
# |  %50:_(s64) = G_AND %54, %51
# |                             ^
# | <stdin>:1190:2: note: possible intended match here
# |  %41:_(s64) = G_CONSTANT i64 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           426:  %63:_(s64) = G_AND %72, %66 
# |           427:  %60:_(s64) = G_ADD %65, %63 
# |           428:  %57:_(s64) = G_LSHR %60, %91(s64) 
# |           429:  %54:_(s64) = G_ADD %57, %60 
# |           430:  %51:_(s64) = G_CONSTANT i64 3855 
# |           431:  %50:_(s64) = G_AND %54, %51 
# | next:115'0                                 X error: no match found
# |           432:  %47:_(s64) = G_LSHR %50, %85(s64) 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           433:  %44:_(s64) = G_ADD %50, %47 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           434:  %41:_(s64) = G_CONSTANT i64 255 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:115'1      ?                                possible intended match
# |           435:  %40:_(s64) = G_AND %44, %41 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           436:  %21:_(s64) = G_CONSTANT i64 16 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           437:  %20:_(s64) = G_SUB %21, %40 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           438:  $x10 = COPY %20(s64) 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           439:  PseudoRET implicit $x10 
# | next:115'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |          1182:  %63:_(s64) = G_AND %72, %66 
# |          1183:  %60:_(s64) = G_ADD %65, %63 
# |          1184:  %57:_(s64) = G_LSHR %60, %91(s64) 
# |          1185:  %54:_(s64) = G_ADD %57, %60 
# |          1186:  %51:_(s64) = G_CONSTANT i64 3855 
# |          1187:  %50:_(s64) = G_AND %54, %51 
# | next:390'0                                 X error: no match found
# |          1188:  %47:_(s64) = G_LSHR %50, %85(s64) 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1189:  %44:_(s64) = G_ADD %50, %47 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1190:  %41:_(s64) = G_CONSTANT i64 255 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:390'1      ?                                possible intended match
# |          1191:  %40:_(s64) = G_AND %44, %41 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1192:  %21:_(s64) = G_CONSTANT i64 16 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1193:  %20:_(s64) = G_SUB %21, %40 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1194:  $x10 = COPY %20(s64) 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          1195:  PseudoRET implicit $x10 
# | next:390'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv32.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv32.mir -o -  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv32.mir --check-prefix=RV32I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv32.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-ctpop-rv32.mir --check-prefix=RV32I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv32.mir:89:16: error: RV32I-NEXT: expected string not found in input
# |  ; RV32I-NEXT: [[C7:%[0-9]+]]:_(s32) = G_CONSTANT i32 257
# |                ^
# | <stdin>:326:29: note: scanning from here
# |  %37:_(s32) = G_AND %41, %38
# |                             ^
# | <stdin>:330:2: note: possible intended match here
# |  %27:_(s32) = G_CONSTANT i32 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv32.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |          321:  %48:_(s32) = G_ADD %53, %51 
# |          322:  %45:_(s32) = G_CONSTANT i32 4 
# |          323:  %44:_(s32) = G_LSHR %48, %45(s32) 
# |          324:  %41:_(s32) = G_ADD %44, %48 
# |          325:  %38:_(s32) = G_CONSTANT i32 3855 
# |          326:  %37:_(s32) = G_AND %41, %38 
# | next:89'0                                 X error: no match found
# |          327:  %34:_(s32) = G_CONSTANT i32 8 
# | next:89'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          328:  %33:_(s32) = G_LSHR %37, %34(s32) 
# | next:89'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          329:  %30:_(s32) = G_ADD %37, %33 
# | next:89'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          330:  %27:_(s32) = G_CONSTANT i32 255 
# | next:89'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:89'1      ?                                possible intended match
# |          331:  %26:_(s32) = G_AND %30, %27 
# | next:89'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          332:  $x10 = COPY %26(s32) 
# | next:89'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          333:  PseudoRET implicit $x10 
# | next:89'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |          334: ... 
# | next:89'0     ~~~~
# |          335: --- 
# | next:89'0     ~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir -o -  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir --check-prefix=RV64I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir --check-prefix=RV64I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir:89:16: error: RV64I-NEXT: expected string not found in input
# |  ; RV64I-NEXT: [[C7:%[0-9]+]]:_(s64) = G_CONSTANT i64 257
# |                ^
# | <stdin>:336:29: note: scanning from here
# |  %37:_(s64) = G_AND %41, %38
# |                             ^
# | <stdin>:340:2: note: possible intended match here
# |  %27:_(s64) = G_CONSTANT i64 255
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir:305:16: error: RV64I-NEXT: expected string not found in input
# |  ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 257
# |                ^
# | <stdin>:916:29: note: scanning from here
# |  %40:_(s64) = G_AND %44, %41
# |                             ^
# | <stdin>:920:2: note: possible intended match here
# |  %30:_(s64) = G_CONSTANT i64 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           331:  %48:_(s64) = G_ADD %53, %51 
# |           332:  %45:_(s64) = G_CONSTANT i64 4 
# |           333:  %44:_(s64) = G_LSHR %48, %45(s64) 
# |           334:  %41:_(s64) = G_ADD %44, %48 
# |           335:  %38:_(s64) = G_CONSTANT i64 3855 
# |           336:  %37:_(s64) = G_AND %41, %38 
# | next:89'0                                  X error: no match found
# |           337:  %34:_(s64) = G_CONSTANT i64 8 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           338:  %33:_(s64) = G_LSHR %37, %34(s64) 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           339:  %30:_(s64) = G_ADD %37, %33 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           340:  %27:_(s64) = G_CONSTANT i64 255 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:89'1       ?                                possible intended match
# |           341:  %26:_(s64) = G_AND %30, %27 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           342:  $x10 = COPY %26(s64) 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~
# |           343:  PseudoRET implicit $x10 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           344: ... 
# | next:89'0      ~~~~
# |           345: --- 
# | next:89'0      ~~~~
# |             .
# |             .
# |             .
# |           911:  %51:_(s64) = G_ADD %56, %54 
# |           912:  %48:_(s64) = G_CONSTANT i64 4 
# |           913:  %47:_(s64) = G_LSHR %51, %48(s64) 
# |           914:  %44:_(s64) = G_ADD %47, %51 
# |           915:  %41:_(s64) = G_CONSTANT i64 3855 
# |           916:  %40:_(s64) = G_AND %44, %41 
# | next:305'0                                 X error: no match found
# |           917:  %37:_(s64) = G_CONSTANT i64 8 
# | next:305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           918:  %36:_(s64) = G_LSHR %40, %37(s64) 
# | next:305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           919:  %33:_(s64) = G_ADD %40, %36 
# | next:305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           920:  %30:_(s64) = G_CONSTANT i64 255 
# | next:305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:305'1      ?                                possible intended match
# |           921:  %29:_(s64) = G_AND %33, %30 
# | next:305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           922:  $x10 = COPY %29(s64) 
# | next:305'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           923:  PseudoRET implicit $x10 
# | next:305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           924: ... 
# | next:305'0     ~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir -o -  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir --check-prefix=RV32I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv32 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir --check-prefix=RV32I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir:97:16: error: RV32I-NEXT: expected string not found in input
# |  ; RV32I-NEXT: [[C8:%[0-9]+]]:_(s32) = G_CONSTANT i32 257
# |                ^
# | <stdin>:378:29: note: scanning from here
# |  %41:_(s32) = G_AND %45, %42
# |                             ^
# | <stdin>:382:2: note: possible intended match here
# |  %31:_(s32) = G_CONSTANT i32 255
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir:347:16: error: RV32I-NEXT: expected string not found in input
# |  ; RV32I-NEXT: [[C8:%[0-9]+]]:_(s32) = G_CONSTANT i32 257
# |                ^
# | <stdin>:989:29: note: scanning from here
# |  %41:_(s32) = G_AND %45, %42
# |                             ^
# | <stdin>:993:2: note: possible intended match here
# |  %31:_(s32) = G_CONSTANT i32 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           373:  %52:_(s32) = G_ADD %57, %55 
# |           374:  %49:_(s32) = G_CONSTANT i32 4 
# |           375:  %48:_(s32) = G_LSHR %52, %49(s32) 
# |           376:  %45:_(s32) = G_ADD %48, %52 
# |           377:  %42:_(s32) = G_CONSTANT i32 3855 
# |           378:  %41:_(s32) = G_AND %45, %42 
# | next:97'0                                  X error: no match found
# |           379:  %38:_(s32) = G_CONSTANT i32 8 
# | next:97'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           380:  %37:_(s32) = G_LSHR %41, %38(s32) 
# | next:97'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           381:  %34:_(s32) = G_ADD %41, %37 
# | next:97'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           382:  %31:_(s32) = G_CONSTANT i32 255 
# | next:97'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:97'1       ?                                possible intended match
# |           383:  %30:_(s32) = G_AND %34, %31 
# | next:97'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           384:  $x10 = COPY %30(s32) 
# | next:97'0      ~~~~~~~~~~~~~~~~~~~~~~
# |           385:  PseudoRET implicit $x10 
# | next:97'0      ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           386: ... 
# | next:97'0      ~~~~
# |           387: --- 
# | next:97'0      ~~~~
# |             .
# |             .
# |             .
# |           984:  %52:_(s32) = G_ADD %57, %55 
# |           985:  %49:_(s32) = G_CONSTANT i32 4 
# |           986:  %48:_(s32) = G_LSHR %52, %49(s32) 
# |           987:  %45:_(s32) = G_ADD %48, %52 
# |           988:  %42:_(s32) = G_CONSTANT i32 3855 
# |           989:  %41:_(s32) = G_AND %45, %42 
# | next:347'0                                 X error: no match found
# |           990:  %38:_(s32) = G_CONSTANT i32 8 
# | next:347'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           991:  %37:_(s32) = G_LSHR %41, %38(s32) 
# | next:347'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           992:  %34:_(s32) = G_ADD %41, %37 
# | next:347'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           993:  %31:_(s32) = G_CONSTANT i32 255 
# | next:347'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:347'1      ?                                possible intended match
# |           994:  %30:_(s32) = G_AND %34, %31 
# | next:347'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           995:  $x10 = COPY %30(s32) 
# | next:347'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           996:  PseudoRET implicit $x10 
# | next:347'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           997: ... 
# | next:347'0     ~~~~
# |           998: --- 
# | next:347'0     ~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir -o -  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir --check-prefix=RV64I
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mattr=+m -mtriple=riscv64 -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir -o -
# 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/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir --check-prefix=RV64I
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir:96:16: error: RV64I-NEXT: expected string not found in input
# |  ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 257
# |                ^
# | <stdin>:378:29: note: scanning from here
# |  %41:_(s64) = G_AND %45, %42
# |                             ^
# | <stdin>:382:2: note: possible intended match here
# |  %31:_(s64) = G_CONSTANT i64 255
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir:320:16: error: RV64I-NEXT: expected string not found in input
# |  ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 257
# |                ^
# | <stdin>:1004:29: note: scanning from here
# |  %41:_(s64) = G_AND %45, %42
# |                             ^
# | <stdin>:1008:2: note: possible intended match here
# |  %31:_(s64) = G_CONSTANT i64 255
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           373:  %52:_(s64) = G_ADD %57, %55 
# |           374:  %49:_(s64) = G_CONSTANT i64 4 
# |           375:  %48:_(s64) = G_LSHR %52, %49(s64) 
# |           376:  %45:_(s64) = G_ADD %48, %52 
# |           377:  %42:_(s64) = G_CONSTANT i64 3855 
# |           378:  %41:_(s64) = G_AND %45, %42 
# | next:96'0                                  X error: no match found
# |           379:  %38:_(s64) = G_CONSTANT i64 8 
# | next:96'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           380:  %37:_(s64) = G_LSHR %41, %38(s64) 
# | next:96'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           381:  %34:_(s64) = G_ADD %41, %37 
# | next:96'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           382:  %31:_(s64) = G_CONSTANT i64 255 
# | next:96'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:96'1       ?                                possible intended match
# |           383:  %30:_(s64) = G_AND %34, %31 
# | next:96'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           384:  $x10 = COPY %30(s64) 
# | next:96'0      ~~~~~~~~~~~~~~~~~~~~~~
# |           385:  PseudoRET implicit $x10 
# | next:96'0      ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           386: ... 
# | next:96'0      ~~~~
# |           387: --- 
# | next:96'0      ~~~~
# |             .
# |             .
# |             .
# |           999:  %52:_(s64) = G_ADD %57, %55 
# |          1000:  %49:_(s64) = G_CONSTANT i64 4 
# |          1001:  %48:_(s64) = G_LSHR %52, %49(s64) 
# |          1002:  %45:_(s64) = G_ADD %48, %52 
# |          1003:  %42:_(s64) = G_CONSTANT i64 3855 
# |          1004:  %41:_(s64) = G_AND %45, %42 
# | next:320'0                                 X error: no match found
# |          1005:  %38:_(s64) = G_CONSTANT i64 8 
# | next:320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1006:  %37:_(s64) = G_LSHR %41, %38(s64) 
# | next:320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1007:  %34:_(s64) = G_ADD %41, %37 
# | next:320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1008:  %31:_(s64) = G_CONSTANT i64 255 
# | next:320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:320'1      ?                                possible intended match
# |          1009:  %30:_(s64) = G_AND %34, %31 
# | next:320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1010:  $x10 = COPY %30(s64) 
# | next:320'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          1011:  PseudoRET implicit $x10 
# | next:320'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1012: ... 
# | next:320'0     ~~~~
# |          1013: --- 
# | next:320'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/181499


More information about the llvm-commits mailing list