[llvm] [CodeGenPrepare] Invert select predicates when profitable (PR #218296)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 23 16:37:23 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 181147 tests passed
* 3715 tests skipped
* 4 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/X86/combine-shl.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-shl.ll -mtriple=x86_64-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/combine-shl.ll --check-prefixes=CHECK,SSE,SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-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/combine-shl.ll --check-prefixes=CHECK,SSE,SSE2
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-shl.ll:1060:14: error: SSE2-NEXT: expected string not found in input
# | ; SSE2-NEXT: movdqa %xmm1, %xmm2
# | ^
# | <stdin>:1092:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:1107:2: note: possible intended match here
# | movdqa %xmm2, %xmm0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-shl.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1087: .globl combine_vec_shl_commuted_clamped1
# | 1088: .prefalign 4, .Lfunc_end41, nop
# | 1089: .type combine_vec_shl_commuted_clamped1, at function
# | 1090: combine_vec_shl_commuted_clamped1: # @combine_vec_shl_commuted_clamped1
# | 1091: .cfi_startproc
# | 1092: # %bb.0:
# | next:1060'0 { search range start (exclusive)
# | next:1060'1 error: no match found in search range
# | 1093: movdqa .LCPI41_0(%rip), %xmm2 # xmm2 = [2147483648,2147483648,2147483648,2147483648]
# | 1094: pxor %xmm1, %xmm2
# | 1095: pcmpgtd .LCPI41_1(%rip), %xmm2
# | 1096: pslld $23, %xmm1
# | 1097: paddd .LCPI41_2(%rip), %xmm1 # [1065353216,1065353216,1065353216,1065353216]
# | .
# | .
# | .
# | 1102: pshufd $245, %xmm1, %xmm1 # xmm1 = xmm1[1,1,3,3]
# | 1103: pmuludq %xmm3, %xmm1
# | 1104: pshufd $232, %xmm1, %xmm1 # xmm1 = xmm1[0,2,2,3]
# | 1105: punpckldq %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
# | 1106: pandn %xmm0, %xmm2
# | 1107: movdqa %xmm2, %xmm0
# | next:1060'2 ? possible intended match
# | 1108: retq
# | 1109: .Lfunc_end41:
# | 1110: .size combine_vec_shl_commuted_clamped1, .Lfunc_end41-combine_vec_shl_commuted_clamped1
# | 1111: .cfi_endproc
# | 1112: # -- End function
# | 1113: .section ".note.GNU-stack","", at progbits
# | next:1060'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/combine-srl.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-srl.ll -mtriple=x86_64-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/combine-srl.ll --check-prefixes=CHECK,SSE,SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-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/combine-srl.ll --check-prefixes=CHECK,SSE,SSE2
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-srl.ll:787:14: error: SSE2-NEXT: expected string not found in input
# | ; SSE2-NEXT: pshuflw {{.*#+}} xmm2 = xmm1[2,3,3,3,4,5,6,7]
# | ^
# | <stdin>:566:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:570:21: note: possible intended match here
# | pshuflw $254, %xmm1, %xmm3 # xmm3 = xmm1[2,3,3,3,4,5,6,7]
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/combine-srl.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 561: .globl combine_vec_lshr_commuted_clamped1
# | 562: .prefalign 4, .Lfunc_end24, nop
# | 563: .type combine_vec_lshr_commuted_clamped1, at function
# | 564: combine_vec_lshr_commuted_clamped1: # @combine_vec_lshr_commuted_clamped1
# | 565: .cfi_startproc
# | 566: # %bb.0:
# | next:787'0 { search range start (exclusive)
# | next:787'1 error: no match found in search range
# | 567: movdqa .LCPI24_0(%rip), %xmm2 # xmm2 = [2147483648,2147483648,2147483648,2147483648]
# | 568: pxor %xmm1, %xmm2
# | 569: pcmpgtd .LCPI24_1(%rip), %xmm2
# | 570: pshuflw $254, %xmm1, %xmm3 # xmm3 = xmm1[2,3,3,3,4,5,6,7]
# | next:787'2 ? possible intended match
# | 571: movdqa %xmm0, %xmm4
# | 572: psrld %xmm3, %xmm4
# | 573: pshuflw $84, %xmm1, %xmm3 # xmm3 = xmm1[0,1,1,1,4,5,6,7]
# | 574: movdqa %xmm0, %xmm5
# | 575: psrld %xmm3, %xmm5
# | .
# | .
# | .
# | 587: retq
# | 588: .Lfunc_end24:
# | 589: .size combine_vec_lshr_commuted_clamped1, .Lfunc_end24-combine_vec_lshr_commuted_clamped1
# | 590: .cfi_endproc
# | 591: # -- End function
# | 592: .section ".note.GNU-stack","", at progbits
# | next:787'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/paddus.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/paddus.ll -mtriple=x86_64-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/paddus.ll --check-prefix=SSE --check-prefix=SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-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/paddus.ll --check-prefix=SSE --check-prefix=SSE2
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/paddus.ll:311:13: error: SSE-NEXT: expected string not found in input
# | ; SSE-NEXT: movdqa %xmm0, %xmm3
# | ^
# | <stdin>:217:106: note: scanning from here
# | movdqa .LCPI10_0(%rip), %xmm2 # xmm2 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
# | ^
# | <stdin>:218:2: note: possible intended match here
# | movdqa %xmm1, %xmm3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/paddus.ll:587:13: error: SSE-NEXT: expected string not found in input
# | ; SSE-NEXT: movdqa {{.*#+}} xmm4 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
# | ^
# | <stdin>:365:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:366:28: note: possible intended match here
# | movdqa .LCPI16_0(%rip), %xmm5 # xmm5 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/paddus.ll:1045:14: error: SSE2-NEXT: expected string not found in input
# | ; SSE2-NEXT: movdqa %xmm0, %xmm4
# | ^
# | <stdin>:694:90: note: scanning from here
# | movdqa .LCPI28_0(%rip), %xmm3 # xmm3 = [32768,32768,32768,32768,32768,32768,32768,32768]
# | ^
# | <stdin>:695:2: note: possible intended match here
# | movdqa %xmm1, %xmm4
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/paddus.ll:1386:14: error: SSE2-NEXT: expected string not found in input
# | ; SSE2-NEXT: movdqa %xmm0, %xmm6
# | ^
# | <stdin>:877:90: note: scanning from here
# | movdqa .LCPI34_0(%rip), %xmm5 # xmm5 = [32768,32768,32768,32768,32768,32768,32768,32768]
# | ^
# | <stdin>:882:2: note: possible intended match here
# | movdqa %xmm1, %xmm6
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/paddus.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 212: .prefalign 4, .Lfunc_end10, nop
# | 213: .type test11, at function
# | 214: test11: # @test11
# | 215: .cfi_startproc
# | 216: # %bb.0:
# | 217: movdqa .LCPI10_0(%rip), %xmm2 # xmm2 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
# | next:311'0 { search range start (exclusive)
# | next:311'1 error: no match found in search range
# | 218: movdqa %xmm1, %xmm3
# | next:311'2 ? possible intended match
# | 219: pxor %xmm2, %xmm3
# | 220: pxor %xmm0, %xmm2
# | 221: pmaxub %xmm2, %xmm0
# | 222: pcmpeqb %xmm2, %xmm0
# | 223: pcmpeqd %xmm4, %xmm4
# | .
# | .
# | .
# | 240: .size .LCPI11_0, 16
# | 241: .text
# | 242: .globl test12
# | 243: .prefalign 4, .Lfunc_end11, nop
# | 244: .type test12, at function
# | 245: test12: # @test12
# | next:311'3 } search range end (exclusive)
# | 246: .cfi_startproc
# | 247: # %bb.0:
# | 248: movdqa .LCPI11_0(%rip), %xmm2 # xmm2 = [2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2]
# | 249: paddusb %xmm2, %xmm0
# | 250: paddusb %xmm2, %xmm1
# | .
# | .
# | .
# | 360: .globl test17
# | 361: .prefalign 4, .Lfunc_end16, nop
# | 362: .type test17, at function
# | 363: test17: # @test17
# | 364: .cfi_startproc
# | 365: # %bb.0:
# | next:587'0 { search range start (exclusive)
# | next:587'1 error: no match found in search range
# | 366: movdqa .LCPI16_0(%rip), %xmm5 # xmm5 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
# | next:587'2 ? possible intended match
# | 367: movdqa %xmm3, %xmm4
# | 368: pxor %xmm5, %xmm4
# | 369: movdqa %xmm2, %xmm6
# | 370: pxor %xmm5, %xmm6
# | 371: movdqa %xmm1, %xmm7
# | .
# | .
# | .
# | 401: .size .LCPI17_0, 16
# | 402: .text
# | 403: .globl test18
# | 404: .prefalign 4, .Lfunc_end17, nop
# | 405: .type test18, at function
# | 406: test18: # @test18
# | next:587'3 } search range end (exclusive)
# | 407: .cfi_startproc
# | 408: # %bb.0:
# | 409: movdqa .LCPI17_0(%rip), %xmm4 # xmm4 = [2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2]
# | 410: paddusb %xmm4, %xmm0
# | 411: paddusb %xmm4, %xmm1
# | .
# | .
# | .
# | 689: .prefalign 4, .Lfunc_end28, nop
# | 690: .type test29, at function
# | 691: test29: # @test29
# | 692: .cfi_startproc
# | 693: # %bb.0:
# | 694: movdqa .LCPI28_0(%rip), %xmm3 # xmm3 = [32768,32768,32768,32768,32768,32768,32768,32768]
# | next:1045'0 { search range start (exclusive)
# | next:1045'1 error: no match found in search range
# | 695: movdqa %xmm1, %xmm4
# | next:1045'2 ? possible intended match
# | 696: pxor %xmm3, %xmm4
# | 697: pxor %xmm0, %xmm3
# | 698: movdqa %xmm3, %xmm2
# | 699: pcmpgtw %xmm0, %xmm2
# | 700: por %xmm3, %xmm2
# | .
# | .
# | .
# | 723: .size .LCPI29_0, 16
# | 724: .text
# | 725: .globl test30
# | 726: .prefalign 4, .Lfunc_end29, nop
# | 727: .type test30, at function
# | 728: test30: # @test30
# | next:1045'3 } search range end (exclusive)
# | 729: .cfi_startproc
# | 730: # %bb.0:
# | 731: movdqa .LCPI29_0(%rip), %xmm2 # xmm2 = [2,2,2,2,2,2,2,2]
# | 732: paddusw %xmm2, %xmm0
# | 733: paddusw %xmm2, %xmm1
# | .
# | .
# | .
# | 872: .prefalign 4, .Lfunc_end34, nop
# | 873: .type test35, at function
# | 874: test35: # @test35
# | 875: .cfi_startproc
# | 876: # %bb.0:
# | 877: movdqa .LCPI34_0(%rip), %xmm5 # xmm5 = [32768,32768,32768,32768,32768,32768,32768,32768]
# | next:1386'0 { search range start (exclusive)
# | next:1386'1 error: no match found in search range
# | 878: movdqa %xmm3, %xmm8
# | 879: pxor %xmm5, %xmm8
# | 880: movdqa %xmm2, %xmm7
# | 881: pxor %xmm5, %xmm7
# | 882: movdqa %xmm1, %xmm6
# | next:1386'2 ? possible intended match
# | 883: pxor %xmm5, %xmm6
# | 884: pxor %xmm0, %xmm5
# | 885: movdqa %xmm5, %xmm4
# | 886: pcmpgtw %xmm0, %xmm4
# | 887: por %xmm5, %xmm4
# | .
# | .
# | .
# | 918: .size .LCPI35_0, 16
# | 919: .text
# | 920: .globl test36
# | 921: .prefalign 4, .Lfunc_end35, nop
# | 922: .type test36, at function
# | 923: test36: # @test36
# | next:1386'3 } search range end (exclusive)
# | 924: .cfi_startproc
# | 925: # %bb.0:
# | 926: movdqa .LCPI35_0(%rip), %xmm4 # xmm4 = [2,2,2,2,2,2,2,2]
# | 927: paddusw %xmm4, %xmm0
# | 928: paddusw %xmm4, %xmm1
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/psubus.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/psubus.ll -mtriple=x86_64-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/psubus.ll --check-prefixes=SSE,SSE2OR3,SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-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/psubus.ll --check-prefixes=SSE,SSE2OR3,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 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/psubus.ll -mtriple=x86_64-unknown-unknown -mattr=+ssse3 | /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/psubus.ll --check-prefixes=SSE,SSE2OR3,SSSE3
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+ssse3
# 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/psubus.ll --check-prefixes=SSE,SSE2OR3,SSSE3
# note: command had no output on stdout or stderr
# RUN: at line 4
/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/psubus.ll -mtriple=x86_64-unknown-unknown -mattr=+sse4.1 | /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/psubus.ll --check-prefixes=SSE,SSE41
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -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/psubus.ll --check-prefixes=SSE,SSE41
# note: command had no output on stdout or stderr
# RUN: at line 5
/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/psubus.ll -mtriple=x86_64-unknown-unknown -mattr=+avx | /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/psubus.ll --check-prefixes=AVX,AVX1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+avx
# 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/psubus.ll --check-prefixes=AVX,AVX1
# note: command had no output on stdout or stderr
# RUN: at line 6
/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/psubus.ll -mtriple=x86_64-unknown-unknown -mattr=+avx2 | /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/psubus.ll --check-prefixes=AVX,AVX2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+avx2
# 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/psubus.ll --check-prefixes=AVX,AVX2
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/psubus.ll:964:14: error: AVX2-NEXT: expected string not found in input
# | ; AVX2-NEXT: vpcmpeqd %ymm4, %ymm4, %ymm4
# | ^
# | <stdin>:561:31: note: scanning from here
# | vpackssdw %ymm3, %ymm4, %ymm3
# | ^
# | <stdin>:566:2: note: possible intended match here
# | vpand %ymm4, %ymm2, %ymm2
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/psubus.ll:1189:14: error: AVX2-NEXT: expected string not found in input
# | ; AVX2-NEXT: vpcmpeqd %ymm3, %ymm3, %ymm3
# | ^
# | <stdin>:646:30: note: scanning from here
# | vpcmpeqd %ymm2, %ymm1, %ymm2
# | ^
# | <stdin>:648:2: note: possible intended match here
# | vpackssdw %xmm3, %xmm2, %xmm2
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/psubus.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 556: vpmovzxbd %xmm0, %ymm4 # ymm4 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero,xmm0[4],zero,zero,zero,xmm0[5],zero,zero,zero,xmm0[6],zero,zero,zero,xmm0[7],zero,zero,zero
# | 557: vpmaxud %ymm4, %ymm1, %ymm4
# | 558: vpcmpeqd %ymm4, %ymm1, %ymm4
# | 559: vpmaxud %ymm3, %ymm2, %ymm3
# | 560: vpcmpeqd %ymm3, %ymm2, %ymm3
# | 561: vpackssdw %ymm3, %ymm4, %ymm3
# | next:964'0 { search range start (exclusive)
# | next:964'1 error: no match found in search range
# | 562: vextracti128 $1, %ymm3, %xmm4
# | 563: vpacksswb %xmm4, %xmm3, %xmm3
# | 564: vpshufd $216, %xmm3, %xmm3 # xmm3 = xmm3[0,2,1,3]
# | 565: vpbroadcastd .LCPI23_0(%rip), %ymm4 # ymm4 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
# | 566: vpand %ymm4, %ymm2, %ymm2
# | next:964'2 ? possible intended match
# | 567: vpand %ymm4, %ymm1, %ymm1
# | 568: vpackusdw %ymm2, %ymm1, %ymm1
# | 569: vextracti128 $1, %ymm1, %xmm2
# | 570: vpackuswb %xmm2, %xmm1, %xmm1
# | 571: vpshufd $216, %xmm1, %xmm1 # xmm1 = xmm1[0,2,1,3]
# | .
# | .
# | .
# | 584: .size .LCPI24_0, 4
# | 585: .text
# | 586: .globl test15
# | 587: .prefalign 4, .Lfunc_end24, nop
# | 588: .type test15, at function
# | 589: test15: # @test15
# | next:964'3 } search range end (exclusive)
# | 590: # %bb.0: # %vector.ph
# | 591: vpbroadcastd .LCPI24_0(%rip), %ymm2 # ymm2 = [65535,65535,65535,65535,65535,65535,65535,65535]
# | 592: vpminud %ymm2, %ymm1, %ymm1
# | 593: vextracti128 $1, %ymm1, %xmm2
# | 594: vpackusdw %xmm2, %xmm1, %xmm1
# | .
# | .
# | .
# | 641: .type test16, at function
# | 642: test16: # @test16
# | 643: # %bb.0: # %vector.ph
# | 644: vpmovzxwd %xmm0, %ymm2 # ymm2 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero
# | 645: vpmaxud %ymm2, %ymm1, %ymm2
# | 646: vpcmpeqd %ymm2, %ymm1, %ymm2
# | next:1189'0 { search range start (exclusive)
# | next:1189'1 error: no match found in search range
# | 647: vextracti128 $1, %ymm2, %xmm3
# | 648: vpackssdw %xmm3, %xmm2, %xmm2
# | next:1189'2 ? possible intended match
# | 649: vpshufb .LCPI25_0(%rip), %ymm1, %ymm1 # ymm1 = ymm1[0,1,4,5,8,9,12,13,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u]
# | 650: vpermq $232, %ymm1, %ymm1 # ymm1 = ymm1[0,2,2,3]
# | 651: vpsubw %xmm1, %xmm0, %xmm0
# | 652: vpandn %xmm0, %xmm2, %xmm0
# | 653: vzeroupper
# | 654: retq
# | 655: .Lfunc_end25:
# | 656: .size test16, .Lfunc_end25-test16
# | 657: # -- End function
# | 658: .globl test17 # -- Begin function test17
# | 659: .prefalign 4, .Lfunc_end26, nop
# | 660: .type test17, at function
# | 661: test17: # @test17
# | next:1189'3 } search range end (exclusive)
# | 662: # %bb.0: # %vector.ph
# | 663: vmovd %edi, %xmm2
# | 664: vpbroadcastb %xmm2, %ymm2
# | 665: vpsubusb %ymm2, %ymm0, %ymm0
# | 666: vpsubusb %ymm2, %ymm1, %ymm1
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/218296
More information about the llvm-commits
mailing list