[llvm] [XCore] Use `softPromoteHalfType` (PR #175142)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 9 01:49:55 PST 2026


github-actions[bot] wrote:

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

* 167839 tests passed
* 2983 tests skipped
* 3 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/XCore/llvm.exp10.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=xcore-unknown-unknown < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.exp10.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/XCore/llvm.exp10.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=xcore-unknown-unknown
# 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/XCore/llvm.exp10.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.exp10.ll:16:10: error: CHECK: expected string not found in input
# | ; CHECK: bl exp10f
# |          ^
# | <stdin>:37:11: note: scanning from here
# |  bl exp10f
# |           ^
# | <stdin>:48:6: note: possible intended match here
# |  .globl exp10_f32 # -- Begin function exp10_f32
# |      ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.exp10.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            32:  bl __truncsfhf2 
# |            33:  mov r5, r0 
# |            34:  zext r4, 16 
# |            35:  mov r0, r4 
# |            36:  bl __extendhfsf2 
# |            37:  bl exp10f 
# | check:16'0               X error: no match found
# |            38:  bl __truncsfhf2 
# | check:16'0     ~~~~~~~~~~~~~~~~~
# |            39:  mov r1, r0 
# | check:16'0     ~~~~~~~~~~~~
# |            40:  mov r0, r5 
# | check:16'0     ~~~~~~~~~~~~
# |            41:  ldw r5, sp[1] # 4-byte Folded Reload 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            42:  ldw r4, sp[2] # 4-byte Folded Reload 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            43:  retsp 3 
# | check:16'0     ~~~~~~~~~
# |            44:  .cc_bottom exp10_v2f16.function 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            45: .Lfunc_end1: 
# | check:16'0     ~~~~~~~~~~~~~
# |            46:  .size exp10_v2f16, .Lfunc_end1-exp10_v2f16 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            47:  # -- End function 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~
# |            48:  .globl exp10_f32 # -- Begin function exp10_f32 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:16'1          ?                                           possible intended match
# |            49:  .p2align 2 
# | check:16'0     ~~~~~~~~~~~~
# |            50:  .type exp10_f32, at function 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            51:  .cc_top exp10_f32.function,exp10_f32 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            52: exp10_f32: # @exp10_f32 
# | check:16'0     ~~~~~~~~~~
# |            53: # %bb.0: 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/XCore/llvm.frexp.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=xcore-unknown-unknown < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.frexp.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/XCore/llvm.frexp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=xcore-unknown-unknown
# 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/XCore/llvm.frexp.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.frexp.ll:8:10: error: CHECK: expected string not found in input
# | ; CHECK: bl __truncsfhf2
# |          ^
# | <stdin>:15:15: note: scanning from here
# |  ldw r1, sp[1]
# |               ^
# | <stdin>:20:8: note: possible intended match here
# |  # -- End function
# |        ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.frexp.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           10:  zext r0, 16 
# |           11:  bl __extendhfsf2 
# |           12:  ldaw r1, sp[1] 
# |           13:  bl frexpf 
# |           14:  bl __truncsfhf2 
# |           15:  ldw r1, sp[1] 
# | check:8'0                   X error: no match found
# |           16:  retsp 2 
# | check:8'0     ~~~~~~~~~
# |           17:  .cc_bottom test_frexp_f16_i32.function 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           18: .Lfunc_end0: 
# | check:8'0     ~~~~~~~~~~~~~
# |           19:  .size test_frexp_f16_i32, .Lfunc_end0-test_frexp_f16_i32 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           20:  # -- End function 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~
# | check:8'1            ?            possible intended match
# |           21:  .globl test_frexp_v2f16_v2i32 # -- Begin function test_frexp_v2f16_v2i32 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           22:  .p2align 2 
# | check:8'0     ~~~~~~~~~~~~
# |           23:  .type test_frexp_v2f16_v2i32, at function 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           24:  .cc_top test_frexp_v2f16_v2i32.function,test_frexp_v2f16_v2i32 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           25: test_frexp_v2f16_v2i32: # @test_frexp_v2f16_v2i32 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/XCore/llvm.sincos.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=xcore-unknown-unknown < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.sincos.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/XCore/llvm.sincos.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=xcore-unknown-unknown
# 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/XCore/llvm.sincos.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.sincos.ll:6:10: error: CHECK: expected string not found in input
# | ; CHECK: bl sinf
# |          ^
# | <stdin>:19:9: note: scanning from here
# |  bl cosf
# |         ^
# | <stdin>:20:2: note: possible intended match here
# |  bl __truncsfhf2
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.sincos.ll:19:10: error: CHECK: expected string not found in input
# | ; CHECK: bl sinf
# |          ^
# | <stdin>:60:9: note: scanning from here
# |  bl cosf
# |         ^
# | <stdin>:61:2: note: possible intended match here
# |  bl __truncsfhf2
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/XCore/llvm.sincos.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            14:  mov r4, r0 
# |            15:  bl sinf 
# |            16:  bl __truncsfhf2 
# |            17:  mov r5, r0 
# |            18:  mov r0, r4 
# |            19:  bl cosf 
# | check:6'0              X error: no match found
# |            20:  bl __truncsfhf2 
# | check:6'0      ~~~~~~~~~~~~~~~~~
# | check:6'1       ?                possible intended match
# |            21:  mov r1, r0 
# | check:6'0      ~~~~~~~~~~~~
# |            22:  mov r0, r5 
# | check:6'0      ~~~~~~~~~~~~
# |            23:  ldw r5, sp[1] # 4-byte Folded Reload 
# | check:6'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            24:  ldw r4, sp[2] # 4-byte Folded Reload 
# | check:6'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            25:  retsp 3 
# | check:6'0      ~~~~~~~~~
# |             .
# |             .
# |             .
# |            55:  mov r0, r5 
# |            56:  bl cosf 
# |            57:  bl __truncsfhf2 
# |            58:  mov r5, r0 
# |            59:  mov r0, r6 
# |            60:  bl cosf 
# | check:19'0             X error: no match found
# |            61:  bl __truncsfhf2 
# | check:19'0     ~~~~~~~~~~~~~~~~~
# | check:19'1      ?                possible intended match
# |            62:  mov r3, r0 
# | check:19'0     ~~~~~~~~~~~~
# |            63:  mov r0, r4 
# | check:19'0     ~~~~~~~~~~~~
# |            64:  mov r1, r7 
# | check:19'0     ~~~~~~~~~~~~
# |            65:  mov r2, r5 
# | check:19'0     ~~~~~~~~~~~~
# |            66:  ldw r7, sp[1] # 4-byte Folded Reload 
# | check:19'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/175142


More information about the llvm-commits mailing list