[llvm] [GlobalISel] prevent G_UNMERGE_VALUES for vectors with different elements (PR #133335)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 00:23:03 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/19588

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AMDGPU/GlobalISel/insertelement.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefix=GPRIDX /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll # RUN: at line 2
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefix=GPRIDX /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll:6514:16: error: GPRIDX-NEXT: is not on the line after the previous match
; GPRIDX-NEXT: s_load_dwordx16 s[12:27], s[8:9], 0x0
               ^
<stdin>:6451:2: note: 'next' match was here
 s_load_dwordx16 s[12:27], s[8:9], 0x0
 ^
<stdin>:6448:15: note: previous match ended here
; %bb.0: ; %bb
              ^
<stdin>:6449:1: note: non-matching line after previous match is here
 s_add_u32 flat_scratch_lo, s12, s17
^

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
              1:  .section .AMDGPU.config,"", at progbits 
              2:  .long 45096 
              3:  .long 64 
              4:  .long 165608 
              5:  .long 0 
              6:  .long 45100 
              7:  .long 0 
              8:  .long 165580 
              9:  .long 1 
             10:  .long 165584 
             11:  .long 1 
             12:  .long 4 
             13:  .long 0 
             14:  .long 8 
             15:  .long 0 
             16:  .text 
             17:  .globl dyn_insertelement_v8i32_s_s_s ; -- Begin function dyn_insertelement_v8i32_s_s_s 
             18:  .p2align 8 
             19:  .type dyn_insertelement_v8i32_s_s_s, at function 
             20: dyn_insertelement_v8i32_s_s_s: ; @dyn_insertelement_v8i32_s_s_s 
label:11'0       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:11'1       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

https://github.com/llvm/llvm-project/pull/133335


More information about the llvm-commits mailing list