[llvm-branch-commits] [llvm] [SelectionDAG] Drop unnecessary lower bound check in lowerRangeToAssertZExt (PR #196785)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun May 10 00:36:41 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 134482 tests passed
* 3259 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/bit-op-reduce-width-known-bits.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\bit-op-reduce-width-known-bits.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\bit-op-reduce-width-known-bits.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# 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\bit-op-reduce-width-known-bits.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\bit-op-reduce-width-known-bits.ll:14:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: v_mov_b32_e32 v1, v3
# | ^
# | <stdin>:9:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:10:2: note: possible intended match here
# | v_xor_b32_e32 v1, v1, v3
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\bit-op-reduce-width-known-bits.ll:27:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: v_mov_b32_e32 v1, v3
# | ^
# | <stdin>:39:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:40:2: note: possible intended match here
# | v_or_b32_e32 v1, v1, v3
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\bit-op-reduce-width-known-bits.ll:53:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: v_mov_b32_e32 v1, -1
# | ^
# | <stdin>:101:22: note: scanning from here
# | v_mov_b32_e32 v0, s4
# | ^
# | <stdin>:102:2: note: possible intended match here
# | v_mov_b32_e32 v1, s5
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\bit-op-reduce-width-known-bits.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: .amdgcn_target "amdgcn-amd-amdhsa--gfx900"
# | 2: .amdhsa_code_object_version 6
# | 3: .text
# | 4: .globl v_xor_i64_known_hi_i32_from_arg_range ; -- Begin function v_xor_i64_known_hi_i32_from_arg_range
# | 5: .p2align 6
# | 6: .type v_xor_i64_known_hi_i32_from_arg_range, at function
# | 7: v_xor_i64_known_hi_i32_from_arg_range: ; @v_xor_i64_known_hi_i32_from_arg_range
# | 8: ; %bb.0:
# | 9: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:14'0 X error: no match found
# | 10: v_xor_b32_e32 v1, v1, v3
# | next:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:14'1 ? possible intended match
# | 11: v_xor_b32_e32 v0, v0, v2
# | next:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: s_setpc_b64 s[30:31]
# | next:14'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 13: .Lfunc_end0:
# | next:14'0 ~~~~~~~~~~~~~
# | 14: .size v_xor_i64_known_hi_i32_from_arg_range, .Lfunc_end0-v_xor_i64_known_hi_i32_from_arg_range
# | next:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: ; -- End function
# | next:14'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 34: .globl v_or_i64_known_hi_i32_from_arg_range ; -- Begin function v_or_i64_known_hi_i32_from_arg_range
# | next:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 35: .p2align 6
# | next:14'0 ~~~~~~~~~~~~
# | 36: .type v_or_i64_known_hi_i32_from_arg_range, at function
# | next:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 37: v_or_i64_known_hi_i32_from_arg_range: ; @v_or_i64_known_hi_i32_from_arg_range
# | next:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 38: ; %bb.0:
# | 39: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:27'0 X error: no match found
# | 40: v_or_b32_e32 v1, v1, v3
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:27'1 ? possible intended match
# | 41: v_or_b32_e32 v0, v0, v2
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 42: s_setpc_b64 s[30:31]
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 43: .Lfunc_end1:
# | next:27'0 ~~~~~~~~~~~~~
# | 44: .size v_or_i64_known_hi_i32_from_arg_range, .Lfunc_end1-v_or_i64_known_hi_i32_from_arg_range
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 45: ; -- End function
# | next:27'0 ~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 96: .type s_xor_i64_known_i32_from_arg_range, at function
# | 97: s_xor_i64_known_i32_from_arg_range: ; @s_xor_i64_known_i32_from_arg_range
# | 98: ; %bb.0:
# | 99: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | 100: s_not_b64 s[4:5], s[16:17]
# | 101: v_mov_b32_e32 v0, s4
# | next:53'0 X error: no match found
# | 102: v_mov_b32_e32 v1, s5
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~
# | next:53'1 ? possible intended match
# | 103: s_setpc_b64 s[30:31]
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 104: .Lfunc_end3:
# | next:53'0 ~~~~~~~~~~~~~
# | 105: .size s_xor_i64_known_i32_from_arg_range, .Lfunc_end3-s_xor_i64_known_i32_from_arg_range
# | next:53'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 106: ; -- End function
# | next:53'0 ~~~~~~~~~~~~~~~~~~~
# | 107: .set .Ls_xor_i64_known_i32_from_arg_range.num_vgpr, 2
# | next:53'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/196785
More information about the llvm-branch-commits
mailing list