[llvm] [MacroFusion] Restricts pairs to have SDep::Data dependency only (PR #203793)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 14 14:28:54 PDT 2026


github-actions[bot] wrote:

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

* 175599 tests passed
* 3495 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/misched-fusion-no-raw-dependency.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -o /dev/null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/misched-fusion-no-raw-dependency.mir -mtriple=aarch64-unknown -mattr=+arith-cbz-fusion -passes=machine-scheduler -misched-print-dags -print-before=machine-scheduler 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/AArch64/misched-fusion-no-raw-dependency.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -o /dev/null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/misched-fusion-no-raw-dependency.mir -mtriple=aarch64-unknown -mattr=+arith-cbz-fusion -passes=machine-scheduler -misched-print-dags -print-before=machine-scheduler
# 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/misched-fusion-no-raw-dependency.mir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/misched-fusion-no-raw-dependency.mir:16:10: error: CHECK: expected string not found in input
# | # CHECK: SU({{[0-9]+}}): $w0 = ORRWri $w0, 4096
# |          ^
# | <stdin>:1:69: note: scanning from here
# | ; *** IR Dump Before MachineSchedulerPass on live_out_exit_su_no_raw ***
# |                                                                     ^
# | <stdin>:33:1: note: possible intended match here
# | SU(1): $w3 = ORRWri $w1, 4096
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/misched-fusion-no-raw-dependency.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; *** IR Dump Before MachineSchedulerPass on live_out_exit_su_no_raw *** 
# | check:16'0                                                                         X~~~~ error: no match found
# |             2: # Machine code for function live_out_exit_su_no_raw: NoPHIs, TracksLiveness, NoVRegs 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3:  
# | check:16'0     ~
# |             4: bb.0: 
# | check:16'0     ~~~~~~
# |             5:  successors: %bb.1(0x40000000), %bb.2(0x40000000); %bb.1(50.00%), %bb.2(50.00%) 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6:  liveins: $w0, $w1 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            28:  Depth : 0 
# | check:16'0     ~~~~~~~~~~~
# |            29:  Height : 1 
# | check:16'0     ~~~~~~~~~~~~
# |            30:  Successors: 
# | check:16'0     ~~~~~~~~~~~~~
# |            31:  ExitSU: Ord Latency=1 Artificial 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            32:  Single Issue : false; 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            33: SU(1): $w3 = ORRWri $w1, 4096 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:16'1     ?                              possible intended match
# |            34:  # preds left : 0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~
# |            35:  # succs left : 0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~
# |            36:  # rdefs left : 0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~
# |            37:  Latency : 1 
# | check:16'0     ~~~~~~~~~~~~~
# |            38:  Depth : 0 
# | check:16'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/203793


More information about the llvm-commits mailing list