[llvm] [NFC][PowerPC] Optimize vector compares for not equal to non zero vectors (PR #171635)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 09:13:27 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 166986 tests passed
* 2925 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/PowerPC/optimize-vector-not-equal.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu      -ppc-asm-full-reg-names --ppc-vsr-nums-as-vr < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/optimize-vector-not-equal.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/PowerPC/optimize-vector-not-equal.ll --check-prefix=POWERPC_64LE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu -ppc-asm-full-reg-names --ppc-vsr-nums-as-vr
# 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/PowerPC/optimize-vector-not-equal.ll --check-prefix=POWERPC_64LE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/optimize-vector-not-equal.ll:22:22: error: POWERPC_64LE-NEXT: expected string not found in input
# | ; POWERPC_64LE-NEXT: xxleqv v3, v3, v3
# |                      ^
# | <stdin>:13:21: note: scanning from here
# |  vcmpequh v2, v2, v3
# |                     ^
# | <stdin>:17:2: note: possible intended match here
# |  xxland v2, v2, v3
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/optimize-vector-not-equal.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            8: .Lfunc_begin0: 
# |            9:  .cfi_startproc 
# |           10: # %bb.0: # %entry 
# |           11:  xxlxor v3, v3, v3 
# |           12:  li r3, 0 
# |           13:  vcmpequh v2, v2, v3 
# | next:22'0                         X error: no match found
# |           14:  vspltisw v3, 1 
# | next:22'0     ~~~~~~~~~~~~~~~~
# |           15:  xxlnor v2, v2, v2 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~
# |           16:  vmrglh v2, v2, v2 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~
# |           17:  xxland v2, v2, v3 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~
# | next:22'1      ?                  possible intended match
# |           18:  xxswapd v3, v2 
# | next:22'0     ~~~~~~~~~~~~~~~~
# |           19:  vadduwm v2, v2, v3 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~~
# |           20:  xxspltw v3, v2, 2 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~
# |           21:  vadduwm v2, v2, v3 
# | next:22'0     ~~~~~~~~~~~~~~~~~~~~
# |           22:  vextuwrx r3, r3, v2 
# | next:22'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/171635


More information about the llvm-commits mailing list