[llvm] [SelectionDAG] Second SimplifyDemandedBits pass for AND RHS using LHS known zeros (scalar only) (PR #185235)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 7 15:09:30 PST 2026


github-actions[bot] wrote:

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

* 131931 tests passed
* 2983 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/setcc-multiple-use.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=gfx1030 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\setcc-multiple-use.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\setcc-multiple-use.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1030
# 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\AMDGPU\setcc-multiple-use.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\setcc-multiple-use.ll:17:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: v_cmp_eq_u32_e32 vcc_lo, 0, v0
# |               ^
# | <stdin>:24:2: note: 'next' match was here
# |  v_cmp_eq_u32_e32 vcc_lo, 0, v0
# |  ^
# | <stdin>:21:22: note: previous match ended here
# |  s_waitcnt lgkmcnt(0)
# |                      ^
# | <stdin>:22:1: note: non-matching line after previous match is here
# |  v_cmp_ne_u32_e32 vcc_lo, 0, v0
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\setcc-multiple-use.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         19:  v_mov_b32_e32 v0, 0 
# |         20:  ds_read_b32 v0, v0 
# |         21:  s_waitcnt lgkmcnt(0) 
# |         22:  v_cmp_ne_u32_e32 vcc_lo, 0, v0 
# |         23:  v_cndmask_b32_e64 v1, 0, 1, vcc_lo 
# |         24:  v_cmp_eq_u32_e32 vcc_lo, 0, v0 
# | next:17      !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         25:  v_cndmask_b32_e64 v0, 0, 1, vcc_lo 
# |         26:  v_and_b32_e32 v0, v0, v1 
# |         27:  s_setpc_b64 s[30:31] 
# |         28: .Lfunc_end0: 
# |         29:  .size f, .Lfunc_end0-f 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# 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/185235


More information about the llvm-commits mailing list