[llvm] Delete mov from imul sequence by allowing rm form (PR #190304)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 21:13:00 PDT 2026


github-actions[bot] wrote:

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

* 172122 tests passed
* 3099 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/X86/tailcallstack64.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailcallstack64.ll -tailcallopt -mcpu=generic -mtriple=x86_64-linux -post-RA-scheduler=true | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailcallstack64.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -tailcallopt -mcpu=generic -mtriple=x86_64-linux -post-RA-scheduler=true
# 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/X86/tailcallstack64.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailcallstack64.ll:9:10: error: CHECK: expected string not found in input
# | ; CHECK: movl [[A1:32|144]](%rsp), [[R1:%e..|%r.*d]]
# |          ^
# | <stdin>:9:16: note: scanning from here
# |  subq $24, %rsp
# |                ^
# | <stdin>:12:2: note: possible intended match here
# |  movl 40(%rsp), %r10d
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailcallstack64.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  .att_syntax 
# |            2:  .file "<stdin>" 
# |            3:  .text 
# |            4:  .globl tailcaller # -- Begin function tailcaller 
# |            5:  .p2align 4 
# |            6:  .type tailcaller, at function 
# |            7: tailcaller: # @tailcaller 
# |            8: # %bb.0: # %entry 
# |            9:  subq $24, %rsp 
# | check:9'0                    X error: no match found
# |           10:  movl %edi, %eax 
# | check:9'0     ~~~~~~~~~~~~~~~~~
# |           11:  addl 32(%rsp), %eax 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~
# |           12:  movl 40(%rsp), %r10d 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1      ?                     possible intended match
# |           13:  movl %r10d, 32(%rsp) 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           14:  movl %eax, 40(%rsp) 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~
# |           15:  addq $24, %rsp 
# | check:9'0     ~~~~~~~~~~~~~~~~
# |           16:  jmp tailcallee at PLT # TAILCALL 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           17: .Lfunc_end0: 
# | check:9'0     ~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/X86/tailccstack64.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailccstack64.ll -mcpu=generic -mtriple=x86_64-linux -post-RA-scheduler=true | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailccstack64.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mcpu=generic -mtriple=x86_64-linux -post-RA-scheduler=true
# 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/X86/tailccstack64.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailccstack64.ll:10:10: error: CHECK: expected string not found in input
# | ; CHECK: movl [[A1:32|144]](%rsp), [[R1:%e..|%r.*d]]
# |          ^
# | <stdin>:9:16: note: scanning from here
# |  subq $24, %rsp
# |                ^
# | <stdin>:12:2: note: possible intended match here
# |  movl 40(%rsp), %r10d
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/tailccstack64.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1:  .att_syntax 
# |             2:  .file "<stdin>" 
# |             3:  .text 
# |             4:  .globl tailcaller # -- Begin function tailcaller 
# |             5:  .p2align 4 
# |             6:  .type tailcaller, at function 
# |             7: tailcaller: # @tailcaller 
# |             8: # %bb.0: # %entry 
# |             9:  subq $24, %rsp 
# | check:10'0                    X error: no match found
# |            10:  movl %edi, %eax 
# | check:10'0     ~~~~~~~~~~~~~~~~~
# |            11:  addl 32(%rsp), %eax 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~
# |            12:  movl 40(%rsp), %r10d 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~
# | check:10'1      ?                     possible intended match
# |            13:  movl %r10d, 32(%rsp) 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            14:  movl %eax, 40(%rsp) 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~
# |            15:  addq $24, %rsp 
# | check:10'0     ~~~~~~~~~~~~~~~~
# |            16:  jmp tailcallee at PLT # TAILCALL 
# | check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            17: .Lfunc_end0: 
# | check:10'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/190304


More information about the llvm-commits mailing list