[llvm] [X86] X86FixupInstTunings - attempt to convert VPERMQri to VINSERTI128rri (PR #177327)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 27 08:28:38 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 168884 tests passed
* 3009 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/X86/fixup-vpermq-to-vinsert.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=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=znver1 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir | /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/fixup-vpermq-to-vinsert.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=znver1 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir
# 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/fixup-vpermq-to-vinsert.mir
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=znver3 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir | /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/fixup-vpermq-to-vinsert.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=znver3 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir
# 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/fixup-vpermq-to-vinsert.mir
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=haswell -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir | /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/fixup-vpermq-to-vinsert.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=haswell -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir
# 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/fixup-vpermq-to-vinsert.mir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir:20:16: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: $ymm0 = VINSERTI128rri $ymm0, $xmm0, 1
# | ^
# | <stdin>:77:2: note: scanning from here
# |
# | ^
# | <stdin>:78:2: note: possible intended match here
# | $ymm0 = VPERMQYri $ymm0, 68
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir:33:16: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: $ymm0 = VINSERTF128rri $ymm0, $xmm0, 1
# | ^
# | <stdin>:137:2: note: scanning from here
# |
# | ^
# | <stdin>:138:2: note: possible intended match here
# | $ymm0 = VPERMPDYri $ymm0, 68
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 72: machineFunctionInfo:
# | 73: amxProgModel: None
# | 74: body: |
# | 75: bb.0:
# | 76: liveins: $ymm0
# | 77:
# | next:20'0 X error: no match found
# | 78: $ymm0 = VPERMQYri $ymm0, 68
# | next:20'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:20'1 ? possible intended match
# | 79: RET64 $ymm0
# | next:20'0 ~~~~~~~~~~~~~
# | 80: ...
# | next:20'0 ~~~~
# | 81: ---
# | next:20'0 ~~~~
# | 82: name: test_vpermpd_0x44
# | next:20'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 83: alignment: 1
# | .
# | .
# | .
# | 132: machineFunctionInfo:
# | 133: amxProgModel: None
# | 134: body: |
# | 135: bb.0:
# | 136: liveins: $ymm0
# | 137:
# | next:33'0 X error: no match found
# | 138: $ymm0 = VPERMPDYri $ymm0, 68
# | next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:33'1 ? possible intended match
# | 139: RET64 $ymm0
# | next:33'0 ~~~~~~~~~~~~~
# | 140: ...
# | next:33'0 ~~~~
# | 141: ---
# | next:33'0 ~~~~
# | 142: name: test_vpermq_other_imm
# | next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 143: alignment: 1
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/177327
More information about the llvm-commits
mailing list