[llvm] [DAG] SimplifyDemandedVectorElts - add basic integer MIN/MAX handling (PR #195275)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 08:46:40 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 173436 tests passed
* 3382 tests skipped
* 8 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/LoongArch/lsx/vec-reduce-smax.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smax.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smax.ll --check-prefixes=CHECK,LA32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smax.ll -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smax.ll --check-prefixes=CHECK,LA32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smax.ll:187:14: error: LA32-NEXT: expected string not found in input
# | ; LA32-NEXT: vinsgr2vr.w $vr0, $a0, 1
# | ^
# | <stdin>:153:26: note: scanning from here
# | vinsgr2vr.w $vr0, $a2, 0
# | ^
# | <stdin>:155:2: note: possible intended match here
# | vinsgr2vr.w $vr1, $a0, 1
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smax.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 148: .type vec_reduce_smax_v2i32, at function
# | 149: vec_reduce_smax_v2i32: # @vec_reduce_smax_v2i32
# | 150: # %bb.0:
# | 151: ld.w $a2, $a0, 0
# | 152: ld.w $a0, $a0, 4
# | 153: vinsgr2vr.w $vr0, $a2, 0
# | next:187'0 X error: no match found
# | 154: vori.b $vr1, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 155: vinsgr2vr.w $vr1, $a0, 1
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:187'1 ? possible intended match
# | 156: vbsrl.v $vr1, $vr1, 4
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 157: vmax.w $vr0, $vr1, $vr0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 158: vpickve2gr.w $a0, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 159: st.w $a0, $a1, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~
# | 160: ret
# | next:187'0 ~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/LoongArch/lsx/vec-reduce-smin.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smin.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smin.ll --check-prefixes=CHECK,LA32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smin.ll -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smin.ll --check-prefixes=CHECK,LA32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smin.ll:187:14: error: LA32-NEXT: expected string not found in input
# | ; LA32-NEXT: vinsgr2vr.w $vr0, $a0, 1
# | ^
# | <stdin>:153:26: note: scanning from here
# | vinsgr2vr.w $vr0, $a2, 0
# | ^
# | <stdin>:155:2: note: possible intended match here
# | vinsgr2vr.w $vr1, $a0, 1
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-smin.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 148: .type vec_reduce_smin_v2i32, at function
# | 149: vec_reduce_smin_v2i32: # @vec_reduce_smin_v2i32
# | 150: # %bb.0:
# | 151: ld.w $a2, $a0, 0
# | 152: ld.w $a0, $a0, 4
# | 153: vinsgr2vr.w $vr0, $a2, 0
# | next:187'0 X error: no match found
# | 154: vori.b $vr1, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 155: vinsgr2vr.w $vr1, $a0, 1
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:187'1 ? possible intended match
# | 156: vbsrl.v $vr1, $vr1, 4
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 157: vmin.w $vr0, $vr1, $vr0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 158: vpickve2gr.w $a0, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 159: st.w $a0, $a1, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~
# | 160: ret
# | next:187'0 ~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/LoongArch/lsx/vec-reduce-umax.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umax.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umax.ll --check-prefixes=CHECK,LA32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umax.ll -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umax.ll --check-prefixes=CHECK,LA32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umax.ll:187:14: error: LA32-NEXT: expected string not found in input
# | ; LA32-NEXT: vinsgr2vr.w $vr0, $a0, 1
# | ^
# | <stdin>:153:26: note: scanning from here
# | vinsgr2vr.w $vr0, $a2, 0
# | ^
# | <stdin>:155:2: note: possible intended match here
# | vinsgr2vr.w $vr1, $a0, 1
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umax.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 148: .type vec_reduce_umax_v2i32, at function
# | 149: vec_reduce_umax_v2i32: # @vec_reduce_umax_v2i32
# | 150: # %bb.0:
# | 151: ld.w $a2, $a0, 0
# | 152: ld.w $a0, $a0, 4
# | 153: vinsgr2vr.w $vr0, $a2, 0
# | next:187'0 X error: no match found
# | 154: vori.b $vr1, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 155: vinsgr2vr.w $vr1, $a0, 1
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:187'1 ? possible intended match
# | 156: vbsrl.v $vr1, $vr1, 4
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 157: vmax.wu $vr0, $vr1, $vr0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 158: vpickve2gr.w $a0, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 159: st.w $a0, $a1, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~
# | 160: ret
# | next:187'0 ~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/LoongArch/lsx/vec-reduce-umin.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umin.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umin.ll --check-prefixes=CHECK,LA32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 --mattr=+32s,+lsx /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umin.ll -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umin.ll --check-prefixes=CHECK,LA32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umin.ll:187:14: error: LA32-NEXT: expected string not found in input
# | ; LA32-NEXT: vinsgr2vr.w $vr0, $a0, 1
# | ^
# | <stdin>:153:26: note: scanning from here
# | vinsgr2vr.w $vr0, $a2, 0
# | ^
# | <stdin>:155:2: note: possible intended match here
# | vinsgr2vr.w $vr1, $a0, 1
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vec-reduce-umin.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 148: .type vec_reduce_umin_v2i32, at function
# | 149: vec_reduce_umin_v2i32: # @vec_reduce_umin_v2i32
# | 150: # %bb.0:
# | 151: ld.w $a2, $a0, 0
# | 152: ld.w $a0, $a0, 4
# | 153: vinsgr2vr.w $vr0, $a2, 0
# | next:187'0 X error: no match found
# | 154: vori.b $vr1, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 155: vinsgr2vr.w $vr1, $a0, 1
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:187'1 ? possible intended match
# | 156: vbsrl.v $vr1, $vr1, 4
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 157: vmin.wu $vr0, $vr1, $vr0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 158: vpickve2gr.w $a0, $vr0, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 159: st.w $a0, $a1, 0
# | next:187'0 ~~~~~~~~~~~~~~~~~~
# | 160: ret
# | next:187'0 ~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/combine-mask-with-shuffle.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll -mtriple=x86_64-- -mattr=+avx512vpopcntdq,+avx512f,+avx512vl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mattr=+avx512vpopcntdq,+avx512f,+avx512vl
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll --check-prefixes=CHECK
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll:70:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpshufd {{.*#+}} zmm1 = zmm0[0,0,2,2,4,4,6,6,8,8,10,10,12,12,14,14]
# | ^
# | <stdin>:66:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:67:21: note: possible intended match here
# | vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll:89:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpshufd {{.*#+}} zmm1 = zmm0[0,0,2,2,4,4,6,6,8,8,10,10,12,12,14,14]
# | ^
# | <stdin>:86:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:87:21: note: possible intended match here
# | vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll:108:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpshufd {{.*#+}} zmm1 = zmm0[0,0,2,2,4,4,6,6,8,8,10,10,12,12,14,14]
# | ^
# | <stdin>:106:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:107:21: note: possible intended match here
# | vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll:127:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpshufd {{.*#+}} zmm1 = zmm0[0,0,2,2,4,4,6,6,8,8,10,10,12,12,14,14]
# | ^
# | <stdin>:126:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:127:21: note: possible intended match here
# | vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-mask-with-shuffle.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 61: .globl combine_mask_with_umin # -- Begin function combine_mask_with_umin
# | 62: .prefalign 4, .Lfunc_end3, nop
# | 63: .type combine_mask_with_umin, at function
# | 64: combine_mask_with_umin: # @combine_mask_with_umin
# | 65: .cfi_startproc
# | 66: # %bb.0:
# | next:70'0 X error: no match found
# | 67: vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:70'1 ? possible intended match
# | 68: movw $2570, %ax # imm = 0xA0A
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 69: kmovw %eax, %k1
# | next:70'0 ~~~~~~~~~~~~~~~~~
# | 70: vpblendmd %zmm1, %zmm0, %zmm2 {%k1}
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 71: vpminud %zmm2, %zmm1, %zmm1
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 72: movw $-3856, %ax # imm = 0xF0F0
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 81: .globl combine_mask_with_umax # -- Begin function combine_mask_with_umax
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 82: .prefalign 4, .Lfunc_end4, nop
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 83: .type combine_mask_with_umax, at function
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 84: combine_mask_with_umax: # @combine_mask_with_umax
# | next:70'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 85: .cfi_startproc
# | 86: # %bb.0:
# | next:89'0 X error: no match found
# | 87: vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:89'1 ? possible intended match
# | 88: movw $2570, %ax # imm = 0xA0A
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 89: kmovw %eax, %k1
# | next:89'0 ~~~~~~~~~~~~~~~~~
# | 90: vpblendmd %zmm1, %zmm0, %zmm2 {%k1}
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 91: vpmaxud %zmm2, %zmm1, %zmm1
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 92: movw $-3856, %ax # imm = 0xF0F0
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 101: .globl combine_mask_with_smin # -- Begin function combine_mask_with_smin
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 102: .prefalign 4, .Lfunc_end5, nop
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 103: .type combine_mask_with_smin, at function
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 104: combine_mask_with_smin: # @combine_mask_with_smin
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 105: .cfi_startproc
# | 106: # %bb.0:
# | next:108'0 X error: no match found
# | 107: vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:108'1 ? possible intended match
# | 108: movw $2570, %ax # imm = 0xA0A
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 109: kmovw %eax, %k1
# | next:108'0 ~~~~~~~~~~~~~~~~~
# | 110: vpblendmd %zmm1, %zmm0, %zmm2 {%k1}
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 111: vpminsd %zmm2, %zmm1, %zmm1
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 112: movw $-3856, %ax # imm = 0xF0F0
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 121: .globl combine_mask_with_smax # -- Begin function combine_mask_with_smax
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 122: .prefalign 4, .Lfunc_end6, nop
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 123: .type combine_mask_with_smax, at function
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 124: combine_mask_with_smax: # @combine_mask_with_smax
# | next:108'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 125: .cfi_startproc
# | 126: # %bb.0:
# | next:127'0 X error: no match found
# | 127: vpshufd $177, %zmm0, %zmm1 # zmm1 = zmm0[1,0,3,2,5,4,7,6,9,8,11,10,13,12,15,14]
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:127'1 ? possible intended match
# | 128: movw $2570, %ax # imm = 0xA0A
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 129: kmovw %eax, %k1
# | next:127'0 ~~~~~~~~~~~~~~~~~
# | 130: vpblendmd %zmm1, %zmm0, %zmm2 {%k1}
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 131: vpmaxsd %zmm2, %zmm1, %zmm1
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 132: movw $-3856, %ax # imm = 0xF0F0
# | next:127'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/known-never-zero.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/known-never-zero.ll -mtriple=i686-unknown-unknown -mattr=+sse2 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/known-never-zero.ll --check-prefixes=X86
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=i686-unknown-unknown -mattr=+sse2
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/known-never-zero.ll --check-prefixes=X86
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/known-never-zero.ll:816:13: error: X86-NEXT: expected string not found in input
# | ; X86-NEXT: movdqa {{.*#+}} xmm1 = [54,4294967273,12,1]
# | ^
# | <stdin>:684:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:685:22: note: possible intended match here
# | movdqa .LCPI27_0, %xmm1 # xmm1 = [u,4294967273,u,u]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/known-never-zero.ll:954:13: error: X86-NEXT: expected string not found in input
# | ; X86-NEXT: movdqa {{.*#+}} xmm1 = [54,4294967273,4294967284,4294967295]
# | ^
# | <stdin>:788:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:791:2: note: possible intended match here
# | movdqa %xmm0, %xmm2
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/known-never-zero.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 679: .globl smin_known_never_zero_vec_element
# | 680: .prefalign 4, .Lfunc_end27, nop
# | 681: .type smin_known_never_zero_vec_element, at function
# | 682: smin_known_never_zero_vec_element: # @smin_known_never_zero_vec_element
# | 683: .cfi_startproc
# | 684: # %bb.0:
# | next:816'0 X error: no match found
# | 685: movdqa .LCPI27_0, %xmm1 # xmm1 = [u,4294967273,u,u]
# | next:816'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:816'1 ? possible intended match
# | 686: movdqa %xmm1, %xmm2
# | next:816'0 ~~~~~~~~~~~~~~~~~~~~~
# | 687: pcmpgtd %xmm0, %xmm2
# | next:816'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 688: pand %xmm2, %xmm0
# | next:816'0 ~~~~~~~~~~~~~~~~~~~
# | 689: pandn %xmm1, %xmm2
# | next:816'0 ~~~~~~~~~~~~~~~~~~~~
# | 690: por %xmm0, %xmm2
# | next:816'0 ~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 783: .globl smax_known_never_zero_vec_element # -- Begin function smax_known_never_zero_vec_element
# | 784: .prefalign 4, .Lfunc_end32, nop
# | 785: .type smax_known_never_zero_vec_element, at function
# | 786: smax_known_never_zero_vec_element: # @smax_known_never_zero_vec_element
# | 787: .cfi_startproc
# | 788: # %bb.0:
# | next:954'0 X error: no match found
# | 789: movl $54, %eax
# | next:954'0 ~~~~~~~~~~~~~~~~
# | 790: movd %eax, %xmm1
# | next:954'0 ~~~~~~~~~~~~~~~~~~
# | 791: movdqa %xmm0, %xmm2
# | next:954'0 ~~~~~~~~~~~~~~~~~~~~~
# | next:954'1 ? possible intended match
# | 792: pcmpgtd %xmm1, %xmm2
# | next:954'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 793: pand %xmm2, %xmm0
# | next:954'0 ~~~~~~~~~~~~~~~~~~~
# | 794: pandn %xmm1, %xmm2
# | next:954'0 ~~~~~~~~~~~~~~~~~~~~
# | 795: por %xmm0, %xmm2
# | next:954'0 ~~~~~~~~~~~~~~~~~~
# | 796: movd %xmm2, %eax
# | next:954'0 ~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/urem-seteq-vec-nonzero.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll --check-prefix=CHECK-SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll --check-prefix=CHECK-SSE2
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse4.1 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll --check-prefix=CHECK-SSE41
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse4.1
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll --check-prefix=CHECK-SSE41
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll:279:21: error: CHECK-SSE41-NEXT: expected string not found in input
# | ; CHECK-SSE41-NEXT: movdqa {{.*#+}} xmm1 = [4294967295,4294967295,4294967295,1431655764]
# | ^
# | <stdin>:163:78: note: scanning from here
# | pmulld .LCPI4_1(%rip), %xmm0 # [2863311531,2863311531,2863311531,2863311531]
# | ^
# | <stdin>:164:27: note: possible intended match here
# | movdqa .LCPI4_2(%rip), %xmm1 # xmm1 = [4294967295,u,u,1431655764]
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 158: .prefalign 4, .Lfunc_end4, nop
# | 159: .type t32_tautological, at function
# | 160: t32_tautological: # @t32_tautological
# | 161: # %bb.0:
# | 162: psubd .LCPI4_0(%rip), %xmm0
# | 163: pmulld .LCPI4_1(%rip), %xmm0 # [2863311531,2863311531,2863311531,2863311531]
# | next:279'0 X error: no match found
# | 164: movdqa .LCPI4_2(%rip), %xmm1 # xmm1 = [4294967295,u,u,1431655764]
# | next:279'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:279'1 ? possible intended match
# | 165: pminud %xmm0, %xmm1
# | next:279'0 ~~~~~~~~~~~~~~~~~~~~~
# | 166: pcmpeqd %xmm1, %xmm0
# | next:279'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 167: pxor %xmm1, %xmm1
# | next:279'0 ~~~~~~~~~~~~~~~~~~~
# | 168: pblendw $60, %xmm1, %xmm0 # xmm0 = xmm0[0,1],xmm1[2,3,4,5],xmm0[6,7]
# | next:279'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 169: retq
# | next:279'0 ~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/urem-seteq-vec-tautological.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll --check-prefixes=CHECK-SSE,CHECK-SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll --check-prefixes=CHECK-SSE,CHECK-SSE2
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse4.1 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll --check-prefixes=CHECK-SSE,CHECK-SSE41
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-linux-gnu -mattr=+sse4.1
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll --check-prefixes=CHECK-SSE,CHECK-SSE41
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll:37:21: error: CHECK-SSE41-NEXT: expected string not found in input
# | ; CHECK-SSE41-NEXT: movdqa {{.*#+}} xmm1 = [1431655765,4294967295,4294967295,4294967295]
# | ^
# | <stdin>:50:78: note: scanning from here
# | pmulld .LCPI1_0(%rip), %xmm0 # [2863311531,2863311531,2863311531,2863311531]
# | ^
# | <stdin>:51:29: note: possible intended match here
# | pmovzxdq .LCPI1_2(%rip), %xmm1 # xmm1 = [1431655765,4294967295]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll:88:21: error: CHECK-SSE41-NEXT: expected string not found in input
# | ; CHECK-SSE41-NEXT: movdqa {{.*#+}} xmm1 = [1431655765,4294967295,4294967295,4294967295]
# | ^
# | <stdin>:88:78: note: scanning from here
# | pmulld .LCPI2_0(%rip), %xmm0 # [2863311531,2863311531,2863311531,2863311531]
# | ^
# | <stdin>:89:29: note: possible intended match here
# | pmovzxdq .LCPI2_3(%rip), %xmm1 # xmm1 = [1431655765,4294967295]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll:143:21: error: CHECK-SSE41-NEXT: expected string not found in input
# | ; CHECK-SSE41-NEXT: pmovsxdq {{.*#+}} xmm1 = [18446744073709507925,18446744073709507925]
# | ^
# | <stdin>:130:82: note: scanning from here
# | pmullw .LCPI3_0(%rip), %xmm0 # [43691,43691,43691,43691,43691,43691,43691,43691]
# | ^
# | <stdin>:131:23: note: possible intended match here
# | pmovzxdq .LCPI3_2(%rip), %xmm1 # xmm1 = [4294923605,4294923605]
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 45: .globl t1_all_odd_eq
# | 46: .prefalign 4, .Lfunc_end1, nop
# | 47: .type t1_all_odd_eq, at function
# | 48: t1_all_odd_eq: # @t1_all_odd_eq
# | 49: # %bb.0:
# | 50: pmulld .LCPI1_0(%rip), %xmm0 # [2863311531,2863311531,2863311531,2863311531]
# | next:37'0 X error: no match found
# | 51: pmovzxdq .LCPI1_2(%rip), %xmm1 # xmm1 = [1431655765,4294967295]
# | next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:37'1 ? possible intended match
# | 52: pminud %xmm0, %xmm1
# | next:37'0 ~~~~~~~~~~~~~~~~~~~~~
# | 53: pcmpeqd %xmm1, %xmm0
# | next:37'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 54: pxor %xmm1, %xmm1
# | next:37'0 ~~~~~~~~~~~~~~~~~~~
# | 55: pblendw $204, %xmm1, %xmm0 # xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5],xmm1[6,7]
# | next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 56: retq
# | next:37'0 ~~~~~~
# | .
# | .
# | .
# | 83: .globl t1_all_odd_ne
# | next:37'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 84: .prefalign 4, .Lfunc_end2, nop
# | next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 85: .type t1_all_odd_ne, at function
# | next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 86: t1_all_odd_ne: # @t1_all_odd_ne
# | next:37'0 ~~~~~~~~~~~~~~
# | 87: # %bb.0:
# | 88: pmulld .LCPI2_0(%rip), %xmm0 # [2863311531,2863311531,2863311531,2863311531]
# | next:88'0 X error: no match found
# | 89: pmovzxdq .LCPI2_3(%rip), %xmm1 # xmm1 = [1431655765,4294967295]
# | next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:88'1 ? possible intended match
# | 90: pminud %xmm0, %xmm1
# | next:88'0 ~~~~~~~~~~~~~~~~~~~~~
# | 91: pcmpeqd %xmm1, %xmm0
# | next:88'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 92: pcmpeqd %xmm1, %xmm1
# | next:88'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 93: pxor %xmm1, %xmm0
# | next:88'0 ~~~~~~~~~~~~~~~~~~~
# | 94: por .LCPI2_2(%rip), %xmm0
# | next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 125: .globl t2_narrow
# | next:88'0 ~~~~~~~~~~~~~~~~~~
# | 126: .prefalign 4, .Lfunc_end3, nop
# | next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 127: .type t2_narrow, at function
# | next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 128: t2_narrow: # @t2_narrow
# | next:88'0 ~~~~~~~~~~
# | 129: # %bb.0:
# | 130: pmullw .LCPI3_0(%rip), %xmm0 # [43691,43691,43691,43691,43691,43691,43691,43691]
# | next:143'0 X error: no match found
# | 131: pmovzxdq .LCPI3_2(%rip), %xmm1 # xmm1 = [4294923605,4294923605]
# | next:143'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:143'1 ? possible intended match
# | 132: pminuw %xmm0, %xmm1
# | next:143'0 ~~~~~~~~~~~~~~~~~~~~~
# | 133: pcmpeqw %xmm1, %xmm0
# | next:143'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 134: pxor %xmm1, %xmm1
# | next:143'0 ~~~~~~~~~~~~~~~~~~~
# | 135: pblendw $204, %xmm1, %xmm0 # xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5],xmm1[6,7]
# | next:143'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 136: retq
# | next:143'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/195275
More information about the llvm-commits
mailing list