[llvm] [AMDGPU] Fix set_inactive known bits to intersect both operands (PR #201817)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 05:27:07 PDT 2026


github-actions[bot] wrote:

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

* 135432 tests passed
* 3364 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/fix-wwm-vgpr-copy.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-wwm-vgpr-copy.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-wwm-vgpr-copy.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-wwm-vgpr-copy.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-wwm-vgpr-copy.ll:9:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: s_mov_b32 s7, s4
# |             ^
# | <stdin>:19:2: note: 'next' match was here
# |  s_mov_b32 s7, s4
# |  ^
# | <stdin>:15:18: note: previous match ended here
# | ; %bb.0: ; %entry
# |                  ^
# | <stdin>:16:1: note: non-matching line after previous match is here
# |  s_mov_b32 s6, s3
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-wwm-vgpr-copy.ll:61:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: s_mov_b32 s7, s4
# |             ^
# | <stdin>:93:2: note: 'next' match was here
# |  s_mov_b32 s7, s4
# |  ^
# | <stdin>:89:18: note: previous match ended here
# | ; %bb.0: ; %entry
# |                  ^
# | <stdin>:90:1: note: non-matching line after previous match is here
# |  s_mov_b32 s6, s3
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-wwm-vgpr-copy.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         14: wwm: ; @wwm 
# |         15: ; %bb.0: ; %entry 
# |         16:  s_mov_b32 s6, s3 
# |         17:  s_mov_b32 s5, s2 
# |         18:  s_or_saveexec_b64 s[2:3], -1 
# |         19:  s_mov_b32 s7, s4 
# | next:9       !~~~~~~~~~~~~~~~  error: match on wrong line
# |         20:  s_mov_b32 s4, s1 
# |         21:  s_mov_b32 s1, 1 
# |         22:  v_cndmask_b32_e64 v0, 1, 4, s[2:3] 
# |         23:  v_lshlrev_b32_e32 v0, 2, v0 
# |         24:  s_mov_b64 exec, s[2:3] 
# |          .
# |          .
# |          .
# |         88: strict_wwm: ; @strict_wwm 
# |         89: ; %bb.0: ; %entry 
# |         90:  s_mov_b32 s6, s3 
# |         91:  s_mov_b32 s5, s2 
# |         92:  s_or_saveexec_b64 s[2:3], -1 
# |         93:  s_mov_b32 s7, s4 
# | next:61      !~~~~~~~~~~~~~~~  error: match on wrong line
# |         94:  s_mov_b32 s4, s1 
# |         95:  s_mov_b32 s1, 1 
# |         96:  v_cndmask_b32_e64 v0, 1, 4, s[2:3] 
# |         97:  v_lshlrev_b32_e32 v0, 2, v0 
# |         98:  s_mov_b64 exec, s[2:3] 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# 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/201817


More information about the llvm-commits mailing list