[llvm] PowerPC/VSX: Select FMINNUM and FMAXNUM (PR #135739)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 21:56:30 PST 2025


github-actions[bot] wrote:

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

* 166653 tests passed
* 2901 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/PowerPC/ctr-minmaxnum.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=powerpc64-unknown-linux-gnu -verify-machineinstrs -mcpu=pwr7 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/ctr-minmaxnum.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/ctr-minmaxnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=powerpc64-unknown-linux-gnu -verify-machineinstrs -mcpu=pwr7
# 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/ctr-minmaxnum.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/ctr-minmaxnum.ll:53:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: test1:
# |                ^
# | <stdin>:7:7: note: scanning from here
# | test1: # @test1
# |       ^
# | <stdin>:7:11: note: possible intended match here
# | test1: # @test1
# |           ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/ctr-minmaxnum.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1:  .file "<stdin>" 
# |             2:  .text 
# |             3:  .globl test1 # -- Begin function test1 
# |             4:  .p2align 4 
# |             5:  .type test1, at function 
# |             6:  .section .opd,"aw", at progbits 
# |             7: test1: # @test1 
# | label:53'0           X~~~~~~~~~ error: no match found
# | label:53'1               ?      possible intended match
# |             8:  .p2align 3, 0x0 
# | label:53'0     ~~~~~~~~~~~~~~~~~
# |             9:  .quad .Lfunc_begin0 
# | label:53'0     ~~~~~~~~~~~~~~~~~~~~~
# |            10:  .quad .TOC. at tocbase 
# | label:53'0     ~~~~~~~~~~~~~~~~~~~~~
# |            11:  .quad 0 
# | label:53'0     ~~~~~~~~~
# |            12:  .text 
# | label:53'0     ~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/vec-min-max.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/PowerPC/vec-min-max.ll -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8 -verify-machineinstrs | /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/vec-min-max.ll --check-prefixes=CHECK,PWR8
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8 -verify-machineinstrs
# 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/vec-min-max.ll --check-prefixes=CHECK,PWR8
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/vec-min-max.ll:78:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: xvmaxsp 34, 34, 35
# |               ^
# | <stdin>:70:18: note: scanning from here
# | # %bb.0: # %entry
# |                  ^
# | <stdin>:71:2: note: possible intended match here
# |  xvcmpgesp 0, 34, 35
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/vec-min-max.ll:89:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: xvmaxdp 34, 34, 35
# |               ^
# | <stdin>:86:18: note: scanning from here
# | # %bb.0: # %entry
# |                  ^
# | <stdin>:87:4: note: possible intended match here
# |  xvcmpgedp 36, 34, 35
# |    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/vec-min-max.ll:170:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: xvminsp 34, 34, 35
# |               ^
# | <stdin>:162:18: note: scanning from here
# | # %bb.0: # %entry
# |                  ^
# | <stdin>:163:2: note: possible intended match here
# |  xvcmpgesp 0, 35, 34
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/vec-min-max.ll:181:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: xvmindp 34, 34, 35
# |               ^
# | <stdin>:178:18: note: scanning from here
# | # %bb.0: # %entry
# |                  ^
# | <stdin>:179:2: note: possible intended match here
# |  xvcmpgedp 36, 35, 34
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/PowerPC/vec-min-max.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            65:  .p2align 4 
# |            66:  .type getsmaxf32, at function 
# |            67: getsmaxf32: # @getsmaxf32 
# |            68: .Lfunc_begin4: 
# |            69:  .cfi_startproc 
# |            70: # %bb.0: # %entry 
# | next:78'0                       X error: no match found
# |            71:  xvcmpgesp 0, 34, 35 
# | next:78'0      ~~~~~~~~~~~~~~~~~~~~~
# | next:78'1       ?                    possible intended match
# |            72:  xxsel 34, 35, 34, 0 
# | next:78'0      ~~~~~~~~~~~~~~~~~~~~~
# |            73:  blr 
# | next:78'0      ~~~~~
# |            74:  .long 0 
# | next:78'0      ~~~~~~~~~
# |            75:  .quad 0 
# | next:78'0      ~~~~~~~~~
# |            76: .Lfunc_end4: 
# | next:78'0      ~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            81:  .p2align 4 
# | next:78'0      ~~~~~~~~~~~~
# |            82:  .type getsmaxf64, at function 
# | next:78'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            83: getsmaxf64: # @getsmaxf64 
# | next:78'0      ~~~~~~~~~~~
# |            84: .Lfunc_begin5: 
# |            85:  .cfi_startproc 
# |            86: # %bb.0: # %entry 
# | next:89'0                       X error: no match found
# |            87:  xvcmpgedp 36, 34, 35 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~
# | next:89'1         ?                   possible intended match
# |            88:  xxsel 34, 35, 34, 36 
# | next:89'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            89:  blr 
# | next:89'0      ~~~~~
# |            90:  .long 0 
# | next:89'0      ~~~~~~~~~
# |            91:  .quad 0 
# | next:89'0      ~~~~~~~~~
# |            92: .Lfunc_end5: 
# | next:89'0      ~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           157:  .p2align 4 
# |           158:  .type getsminf32, at function 
# |           159: getsminf32: # @getsminf32 
# |           160: .Lfunc_begin10: 
# |           161:  .cfi_startproc 
# |           162: # %bb.0: # %entry 
# | next:170'0                      X error: no match found
# |           163:  xvcmpgesp 0, 35, 34 
# | next:170'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:170'1      ?                    possible intended match
# |           164:  xxsel 34, 35, 34, 0 
# | next:170'0     ~~~~~~~~~~~~~~~~~~~~~
# |           165:  blr 
# | next:170'0     ~~~~~
# |           166:  .long 0 
# | next:170'0     ~~~~~~~~~
# |           167:  .quad 0 
# | next:170'0     ~~~~~~~~~
# |           168: .Lfunc_end10: 
# | next:170'0     ~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           173:  .p2align 4 
# | next:170'0     ~~~~~~~~~~~~
# |           174:  .type getsminf64, at function 
# | next:170'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           175: getsminf64: # @getsminf64 
# | next:170'0     ~~~~~~~~~~~
# |           176: .Lfunc_begin11: 
# |           177:  .cfi_startproc 
# |           178: # %bb.0: # %entry 
# | next:181'0                      X error: no match found
# |           179:  xvcmpgedp 36, 35, 34 
# | next:181'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:181'1      ?                     possible intended match
# |           180:  xxsel 34, 35, 34, 36 
# | next:181'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           181:  blr 
# | next:181'0     ~~~~~
# |           182:  .long 0 
# | next:181'0     ~~~~~~~~~
# |           183:  .quad 0 
# | next:181'0     ~~~~~~~~~
# |           184: .Lfunc_end11: 
# | next:181'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/135739


More information about the llvm-commits mailing list