[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:22:31 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 9 "Add check check-llvm".

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

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

```
Step 9 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AMDGPU/GlobalISel/insertelement.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs < /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=GPRIDX /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll # RUN: at line 2
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=GPRIDX /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/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/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll

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

Input was:
<<<<<<
           .
           .
           .
        6446:  runtime_loader_kernel_symbol = 0 
        6447:  .end_amd_kernel_code_t 
        6448: ; %bb.0: ; %bb 
        6449:  s_add_u32 flat_scratch_lo, s12, s17 
        6450:  s_addc_u32 flat_scratch_hi, s13, 0 
        6451:  s_load_dwordx16 s[12:27], s[8:9], 0x0 
next:6514      !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
        6452:  s_load_dwordx2 s[0:1], s[8:9], 0x40 
        6453:  s_waitcnt lgkmcnt(0) 
        6454:  s_lshr_b32 s2, s12, 1 
        6455:  s_and_b32 s2, s2, 1 
        6456:  s_lshl_b32 s2, s2, 1 
           .
           .
           .
>>>>>>

--

...

```

</details>

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


More information about the llvm-commits mailing list