[llvm] [NFC] Move fusion- to start of Fusion Feature Name (PR #185146)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 18:00:27 PST 2026


github-actions[bot] wrote:

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

* 131910 tests passed
* 2985 tests skipped
* 7 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/features-info.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv32 -mattr=help 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\features-info.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv32 -mattr=help
# 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\RISCV\features-info.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\features-info.ll:46:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: fusion-add-mem - Enable ADD+LOAD/STORE macrofusion.
# |               ^
# | <stdin>:107:9: note: 'next' match was here
# |  fusion-fusion-add-mem - Enable ADD+LOAD/STORE macrofusion.
# |         ^
# | <stdin>:102:55: note: previous match ended here
# |  fusion-add-load - Enable ADD(.UW) + load macrofusion.
# |                                                       ^
# | <stdin>:103:1: note: non-matching line after previous match is here
# |  fusion-addi-load - Enable ADDI + load macrofusion.
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\features-info.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |        102:  fusion-add-load - Enable ADD(.UW) + load macrofusion. 
# |        103:  fusion-addi-load - Enable ADDI + load macrofusion. 
# |        104:  fusion-auipc-addi - Enable AUIPC+ADDI macrofusion. 
# |        105:  fusion-auipc-load - Enable AUIPC + load macrofusion. 
# |        106:  fusion-bfext - Enable SLLI+SRLI (bitfield extract) macrofusion. 
# |        107:  fusion-fusion-add-mem - Enable ADD+LOAD/STORE macrofusion. 
# | next:46             !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |        108:  fusion-fusion-logic-imm-reg - Enable ANDI/ORI/XORI+AND/OR/XOR macrofusion. 
# |        109:  fusion-fusion-logic-reg-imm - Enable AND/OR/XOR+ANDI/ORI/XORI macrofusion. 
# |        110:  fusion-fusion-logic-reg-reg - Enable AND/OR/XOR+AND/OR/XOR macrofusion. 
# |        111:  fusion-fusion-mul-add - Enable MUL+ADD macrofusion. 
# |        112:  fusion-fusion-shift-bit-extract - Enable SLLI+SRLI/SRAI macrofusion. 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/macro-fusion-add-mem.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv64-linux-gnu -x=mir < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-add-mem.mir    -debug-only=machine-scheduler -start-before=machine-scheduler 2>&1    -mattr=+fusion-add-mem | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-add-mem.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv64-linux-gnu -x=mir -debug-only=machine-scheduler -start-before=machine-scheduler -mattr=+fusion-add-mem
# 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\RISCV\macro-fusion-add-mem.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-add-mem.mir:11:10: error: CHECK: expected string not found in input
# | # CHECK: Macro fuse: {{.*}}ADD - LB
# |          ^
# | <stdin>:5:35: note: scanning from here
# | # Machine code for function add_lb: IsSSA, NoPHIs, TracksLiveness
# |                                   ^
# | <stdin>:40:2: note: possible intended match here
# |  # rdefs left : 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-add-mem.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: '+fusion-add-mem' is not a recognized feature for this target (ignoring feature) 
# |             2: '+fusion-add-mem' is not a recognized feature for this target (ignoring feature) 
# |             3: '+fusion-add-mem' is not a recognized feature for this target (ignoring feature) 
# |             4: Before MISched: 
# |             5: # Machine code for function add_lb: IsSSA, NoPHIs, TracksLiveness 
# | check:11'0                                       X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6:  
# | check:11'0     ~
# |             7: bb.0.entry: 
# | check:11'0     ~~~~~~~~~~~~
# |             8:  liveins: $x10, $x11, $x12 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |            10:  %1:gpr = COPY $x11 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            35: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            36: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            37: SU(0): %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38:  # preds left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            39:  # succs left : 2 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            40:  # rdefs left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# | check:11'1      ?                 possible intended match
# |            41:  Latency : 0 
# | check:11'0     ~~~~~~~~~~~~~
# |            42:  Depth : 0 
# | check:11'0     ~~~~~~~~~~~
# |            43:  Height : 5 
# | check:11'0     ~~~~~~~~~~~~
# |            44:  Successors: 
# | check:11'0     ~~~~~~~~~~~~~
# |            45:  SU(3): Data Latency=0 Reg=%0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/macro-fusion-logic-imm-reg.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv64-linux-gnu -x=mir < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-imm-reg.mir    -debug-only=machine-scheduler -start-before=machine-scheduler 2>&1    -mattr=+fusion-logic-imm-reg | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-imm-reg.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv64-linux-gnu -x=mir -debug-only=machine-scheduler -start-before=machine-scheduler -mattr=+fusion-logic-imm-reg
# 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\RISCV\macro-fusion-logic-imm-reg.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-imm-reg.mir:11:10: error: CHECK: expected string not found in input
# | # CHECK: Macro fuse: {{.*}}ANDI - AND
# |          ^
# | <stdin>:5:37: note: scanning from here
# | # Machine code for function andi_and: IsSSA, NoPHIs, TracksLiveness
# |                                     ^
# | <stdin>:38:2: note: possible intended match here
# |  # rdefs left : 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-imm-reg.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: '+fusion-logic-imm-reg' is not a recognized feature for this target (ignoring feature) 
# |             2: '+fusion-logic-imm-reg' is not a recognized feature for this target (ignoring feature) 
# |             3: '+fusion-logic-imm-reg' is not a recognized feature for this target (ignoring feature) 
# |             4: Before MISched: 
# |             5: # Machine code for function andi_and: IsSSA, NoPHIs, TracksLiveness 
# | check:11'0                                         X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6:  
# | check:11'0     ~
# |             7: bb.0.entry: 
# | check:11'0     ~~~~~~~~~~~~
# |             8:  liveins: $x10, $x11 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~
# |             9:  %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |            10:  %1:gpr = COPY $x11 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            33: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            34: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            35: SU(0): %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            36:  # preds left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            37:  # succs left : 2 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            38:  # rdefs left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# | check:11'1      ?                 possible intended match
# |            39:  Latency : 0 
# | check:11'0     ~~~~~~~~~~~~~
# |            40:  Depth : 0 
# | check:11'0     ~~~~~~~~~~~
# |            41:  Height : 2 
# | check:11'0     ~~~~~~~~~~~~
# |            42:  Successors: 
# | check:11'0     ~~~~~~~~~~~~~
# |            43:  SU(2): Data Latency=0 Reg=%0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/macro-fusion-logic-reg-imm.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv64-linux-gnu -x=mir < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-imm.mir    -debug-only=machine-scheduler -start-before=machine-scheduler 2>&1    -mattr=+fusion-logic-reg-imm | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-imm.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv64-linux-gnu -x=mir -debug-only=machine-scheduler -start-before=machine-scheduler -mattr=+fusion-logic-reg-imm
# 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\RISCV\macro-fusion-logic-reg-imm.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-imm.mir:11:10: error: CHECK: expected string not found in input
# | # CHECK: Macro fuse: {{.*}}AND - ANDI
# |          ^
# | <stdin>:5:37: note: scanning from here
# | # Machine code for function and_andi: IsSSA, NoPHIs, TracksLiveness
# |                                     ^
# | <stdin>:38:2: note: possible intended match here
# |  # rdefs left : 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-imm.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: '+fusion-logic-reg-imm' is not a recognized feature for this target (ignoring feature) 
# |             2: '+fusion-logic-reg-imm' is not a recognized feature for this target (ignoring feature) 
# |             3: '+fusion-logic-reg-imm' is not a recognized feature for this target (ignoring feature) 
# |             4: Before MISched: 
# |             5: # Machine code for function and_andi: IsSSA, NoPHIs, TracksLiveness 
# | check:11'0                                         X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6:  
# | check:11'0     ~
# |             7: bb.0.entry: 
# | check:11'0     ~~~~~~~~~~~~
# |             8:  liveins: $x10, $x11 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~
# |             9:  %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |            10:  %1:gpr = COPY $x11 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            33: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            34: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            35: SU(0): %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            36:  # preds left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            37:  # succs left : 2 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            38:  # rdefs left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# | check:11'1      ?                 possible intended match
# |            39:  Latency : 0 
# | check:11'0     ~~~~~~~~~~~~~
# |            40:  Depth : 0 
# | check:11'0     ~~~~~~~~~~~
# |            41:  Height : 2 
# | check:11'0     ~~~~~~~~~~~~
# |            42:  Successors: 
# | check:11'0     ~~~~~~~~~~~~~
# |            43:  SU(2): Data Latency=0 Reg=%0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/macro-fusion-logic-reg-reg.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv64-linux-gnu -x=mir < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-reg.mir    -debug-only=machine-scheduler -start-before=machine-scheduler 2>&1    -mattr=+fusion-logic-reg-reg | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-reg.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv64-linux-gnu -x=mir -debug-only=machine-scheduler -start-before=machine-scheduler -mattr=+fusion-logic-reg-reg
# 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\RISCV\macro-fusion-logic-reg-reg.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-reg.mir:10:10: error: CHECK: expected string not found in input
# | # CHECK: Macro fuse: {{.*}}AND - OR
# |          ^
# | <stdin>:5:35: note: scanning from here
# | # Machine code for function and_or: IsSSA, NoPHIs, TracksLiveness
# |                                   ^
# | <stdin>:39:2: note: possible intended match here
# |  # rdefs left : 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-logic-reg-reg.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: '+fusion-logic-reg-reg' is not a recognized feature for this target (ignoring feature) 
# |             2: '+fusion-logic-reg-reg' is not a recognized feature for this target (ignoring feature) 
# |             3: '+fusion-logic-reg-reg' is not a recognized feature for this target (ignoring feature) 
# |             4: Before MISched: 
# |             5: # Machine code for function and_or: IsSSA, NoPHIs, TracksLiveness 
# | check:10'0                                       X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6:  
# | check:10'0     ~
# |             7: bb.0.entry: 
# | check:10'0     ~~~~~~~~~~~~
# |             8:  liveins: $x10, $x11, $x12 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  %0:gpr = COPY $x10 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~
# |            10:  %1:gpr = COPY $x11 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            34: Disabled scoreboard hazard recognizer 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            35: Disabled scoreboard hazard recognizer 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            36: SU(0): %0:gpr = COPY $x10 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            37:  # preds left : 0 
# | check:10'0     ~~~~~~~~~~~~~~~~~~
# |            38:  # succs left : 2 
# | check:10'0     ~~~~~~~~~~~~~~~~~~
# |            39:  # rdefs left : 0 
# | check:10'0     ~~~~~~~~~~~~~~~~~~
# | check:10'1      ?                 possible intended match
# |            40:  Latency : 0 
# | check:10'0     ~~~~~~~~~~~~~
# |            41:  Depth : 0 
# | check:10'0     ~~~~~~~~~~~
# |            42:  Height : 2 
# | check:10'0     ~~~~~~~~~~~~
# |            43:  Successors: 
# | check:10'0     ~~~~~~~~~~~~~
# |            44:  SU(3): Data Latency=0 Reg=%0 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/macro-fusion-mul-add.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv64-linux-gnu -x=mir < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-mul-add.mir    -debug-only=machine-scheduler -start-before=machine-scheduler 2>&1    -mattr=+m,+fusion-mul-add | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-mul-add.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv64-linux-gnu -x=mir -debug-only=machine-scheduler -start-before=machine-scheduler -mattr=+m,+fusion-mul-add
# 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\RISCV\macro-fusion-mul-add.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-mul-add.mir:11:10: error: CHECK: expected string not found in input
# | # CHECK: Macro fuse: {{.*}}MUL - ADD
# |          ^
# | <stdin>:5:36: note: scanning from here
# | # Machine code for function mul_add: IsSSA, NoPHIs, TracksLiveness
# |                                    ^
# | <stdin>:39:2: note: possible intended match here
# |  # rdefs left : 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-mul-add.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: '+fusion-mul-add' is not a recognized feature for this target (ignoring feature) 
# |             2: '+fusion-mul-add' is not a recognized feature for this target (ignoring feature) 
# |             3: '+fusion-mul-add' is not a recognized feature for this target (ignoring feature) 
# |             4: Before MISched: 
# |             5: # Machine code for function mul_add: IsSSA, NoPHIs, TracksLiveness 
# | check:11'0                                        X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6:  
# | check:11'0     ~
# |             7: bb.0.entry: 
# | check:11'0     ~~~~~~~~~~~~
# |             8:  liveins: $x10, $x11, $x12 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |            10:  %1:gpr = COPY $x11 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            34: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            35: Disabled scoreboard hazard recognizer 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            36: SU(0): %0:gpr = COPY $x10 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            37:  # preds left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            38:  # succs left : 2 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# |            39:  # rdefs left : 0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~
# | check:11'1      ?                 possible intended match
# |            40:  Latency : 0 
# | check:11'0     ~~~~~~~~~~~~~
# |            41:  Depth : 0 
# | check:11'0     ~~~~~~~~~~~
# |            42:  Height : 2 
# | check:11'0     ~~~~~~~~~~~~
# |            43:  Successors: 
# | check:11'0     ~~~~~~~~~~~~~
# |            44:  SU(3): Data Latency=0 Reg=%0 
# | check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/macro-fusion-shift-bit-extract.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv64-linux-gnu -x=mir < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-shift-bit-extract.mir    -debug-only=machine-scheduler -start-before=machine-scheduler 2>&1    -mattr=+fusion-shift-bit-extract | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-shift-bit-extract.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv64-linux-gnu -x=mir -debug-only=machine-scheduler -start-before=machine-scheduler -mattr=+fusion-shift-bit-extract
# 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\RISCV\macro-fusion-shift-bit-extract.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-shift-bit-extract.mir:12:10: error: CHECK: expected string not found in input
# | # CHECK: Macro fuse: {{.*}}SLLI - SRLI
# |          ^
# | <stdin>:5:38: note: scanning from here
# | # Machine code for function slli_srli: IsSSA, NoPHIs, TracksLiveness
# |                                      ^
# | <stdin>:37:2: note: possible intended match here
# |  # rdefs left : 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\macro-fusion-shift-bit-extract.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: '+fusion-shift-bit-extract' is not a recognized feature for this target (ignoring feature) 
# |             2: '+fusion-shift-bit-extract' is not a recognized feature for this target (ignoring feature) 
# |             3: '+fusion-shift-bit-extract' is not a recognized feature for this target (ignoring feature) 
# |             4: Before MISched: 
# |             5: # Machine code for function slli_srli: IsSSA, NoPHIs, TracksLiveness 
# | check:12'0                                          X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             6:  
# | check:12'0     ~
# |             7: bb.0.entry: 
# | check:12'0     ~~~~~~~~~~~~
# |             8:  liveins: $x10 
# | check:12'0     ~~~~~~~~~~~~~~~
# |             9:  %0:gpr = COPY $x10 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~
# |            10:  %1:gpr = SLLI %0:gpr, 8 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            32: Disabled scoreboard hazard recognizer 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            33: Disabled scoreboard hazard recognizer 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            34: SU(0): %0:gpr = COPY $x10 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            35:  # preds left : 0 
# | check:12'0     ~~~~~~~~~~~~~~~~~~
# |            36:  # succs left : 3 
# | check:12'0     ~~~~~~~~~~~~~~~~~~
# |            37:  # rdefs left : 0 
# | check:12'0     ~~~~~~~~~~~~~~~~~~
# | check:12'1      ?                 possible intended match
# |            38:  Latency : 0 
# | check:12'0     ~~~~~~~~~~~~~
# |            39:  Depth : 0 
# | check:12'0     ~~~~~~~~~~~
# |            40:  Height : 2 
# | check:12'0     ~~~~~~~~~~~~
# |            41:  Successors: 
# | check:12'0     ~~~~~~~~~~~~~
# |            42:  SU(2): Data Latency=0 Reg=%0 
# | check:12'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/185146


More information about the llvm-commits mailing list