[llvm] [DAGCombiner][NVPTX] Avoid forming illegal-typed shuffles after type-legalization (PR #205056)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 02:33:37 PDT 2026


github-actions[bot] wrote:

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

* 136057 tests passed
* 3461 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/NVPTX/insert-vector-elt-shuffle-i8.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\NVPTX\insert-vector-elt-shuffle-i8.ll -mtriple=nvptx64 -mcpu=sm_90a -mattr=+ptx88 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\NVPTX\insert-vector-elt-shuffle-i8.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=nvptx64 -mcpu=sm_90a -mattr=+ptx88
# 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\NVPTX\insert-vector-elt-shuffle-i8.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\NVPTX\insert-vector-elt-shuffle-i8.ll:22:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: bfi.b32 %r3, 0, %r2, 0, 8;
# |               ^
# | <stdin>:25:24: note: scanning from here
# |  cvt.u32.u16 %r2, %rs1;
# |                        ^
# | <stdin>:26:2: note: possible intended match here
# |  prmt.b32 %r3, %r2, 0, 0x14U;
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\NVPTX\insert-vector-elt-shuffle-i8.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           20:  mov.b32 %r1, 0; 
# |           21:  // begin inline asm 
# |           22:  cvt.rn.satfinite.e4m3x2.f32 %rs1, %r1, %r1;  
# |           23:  
# |           24:  // end inline asm 
# |           25:  cvt.u32.u16 %r2, %rs1; 
# | next:22'0                            X error: no match found
# |           26:  prmt.b32 %r3, %r2, 0, 0x14U; 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:22'1      ?                             possible intended match
# |           27:  mov.b64 %rd1, 0; 
# | next:22'0     ~~~~~~~~~~~~~~~~~~
# |           28:  st.shared.v4.b32 [%rd1], {%r3, 0, 0, 0}; 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           29:  ret; 
# | next:22'0     ~~~~~~
# |           30:  // -- End function 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~~
# |           31: } 
# | next:22'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/205056


More information about the llvm-commits mailing list