[llvm] [AArch64][GlobalISel] SIMD fpcvt codegen for rounding nodes (PR #165546)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 05:05:57 PST 2025


github-actions[bot] wrote:

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

* 166068 tests passed
* 2838 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/arm64-cvt-simd-round-rint.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/AArch64/arm64-cvt-simd-round-rint.ll -mtriple aarch64-unknown-unknown -mattr=+fprcvt,+fullfp16 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-cvt-simd-round-rint.ll --check-prefixes=CHECK,CHECK-SD
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple aarch64-unknown-unknown -mattr=+fprcvt,+fullfp16
# 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/AArch64/arm64-cvt-simd-round-rint.ll --check-prefixes=CHECK,CHECK-SD
# 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/AArch64/arm64-cvt-simd-round-rint.ll -mtriple aarch64-unknown-unknown -global-isel -global-isel-abort=2 -mattr=+fprcvt,+fullfp16 2>&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/AArch64/arm64-cvt-simd-round-rint.ll --check-prefixes=CHECK,CHECK-GI
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple aarch64-unknown-unknown -global-isel -global-isel-abort=2 -mattr=+fprcvt,+fullfp16
# 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/AArch64/arm64-cvt-simd-round-rint.ll --check-prefixes=CHECK,CHECK-GI
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-cvt-simd-round-rint.ll:7:18: error: CHECK-GI-NEXT: is not on the line after the previous match
# | ; CHECK-GI-NEXT: warning: Instruction selection used fallback path for lround_i32_f64_simd
# |                  ^
# | <stdin>:6:1: note: 'next' match was here
# | warning: Instruction selection used fallback path for lround_i32_f64_simd_exp
# | ^
# | <stdin>:4:74: note: previous match ended here
# | warning: Instruction selection used fallback path for lround_i64_f16_simd_exp
# |                                                                          ^
# | <stdin>:5:1: note: non-matching line after previous match is here
# | warning: Instruction selection used fallback path for lround_i64_f32_simd_exp
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-cvt-simd-round-rint.ll:39:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: fcvtas s0, h0
# |               ^
# | <stdin>:31:10: note: scanning from here
# | // %bb.0:
# |          ^
# | <stdin>:32:2: note: possible intended match here
# |  fcvtas x8, h0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-cvt-simd-round-rint.ll:69:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: fcvtas s0, d0
# |               ^
# | <stdin>:68:10: note: scanning from here
# | // %bb.0:
# |          ^
# | <stdin>:69:2: note: possible intended match here
# |  fcvtas x8, d0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-cvt-simd-round-rint.ll:79:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: fcvtas s0, s0
# |               ^
# | <stdin>:81:10: note: scanning from here
# | // %bb.0:
# |          ^
# | <stdin>:82:2: note: possible intended match here
# |  fcvtas x8, s0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/arm64-cvt-simd-round-rint.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: warning: Instruction selection used fallback path for lround_i64_f16_simd 
# |            2: warning: Instruction selection used fallback path for llround_i64_f16_simd 
# |            3: warning: Instruction selection used fallback path for lround_i32_f16_simd_exp 
# |            4: warning: Instruction selection used fallback path for lround_i64_f16_simd_exp 
# |            5: warning: Instruction selection used fallback path for lround_i64_f32_simd_exp 
# |            6: warning: Instruction selection used fallback path for lround_i32_f64_simd_exp 
# | next:7        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      error: match on wrong line
# |            7: warning: Instruction selection used fallback path for lround_i32_f32_simd_exp 
# |            8: warning: Instruction selection used fallback path for lround_i64_f64_simd_exp 
# |            9: warning: Instruction selection used fallback path for llround_i64_f16_simd_exp 
# |           10: warning: Instruction selection used fallback path for llround_i64_f32_simd_exp 
# |           11: warning: Instruction selection used fallback path for llround_i64_f64_simd_exp 
# |            .
# |            .
# |            .
# |           26:  .globl lround_i32_f16_simd // -- Begin function lround_i32_f16_simd 
# |           27:  .p2align 2 
# |           28:  .type lround_i32_f16_simd, at function 
# |           29: lround_i32_f16_simd: // @lround_i32_f16_simd 
# |           30:  .cfi_startproc 
# |           31: // %bb.0: 
# | next:39'0              X error: no match found
# |           32:  fcvtas x8, h0 
# | next:39'0     ~~~~~~~~~~~~~~~
# | next:39'1      ?              possible intended match
# |           33:  fmov s0, w8 
# | next:39'0     ~~~~~~~~~~~~~
# |           34:  ret 
# | next:39'0     ~~~~~
# |           35: .Lfunc_end0: 
# | next:39'0     ~~~~~~~~~~~~~
# |           36:  .size lround_i32_f16_simd, .Lfunc_end0-lround_i32_f16_simd 
# | next:39'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           37:  .cfi_endproc 
# | next:39'0     ~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           63:  .globl lround_i32_f64_simd // -- Begin function lround_i32_f64_simd 
# |           64:  .p2align 2 
# |           65:  .type lround_i32_f64_simd, at function 
# |           66: lround_i32_f64_simd: // @lround_i32_f64_simd 
# |           67:  .cfi_startproc 
# |           68: // %bb.0: 
# | next:69'0              X error: no match found
# |           69:  fcvtas x8, d0 
# | next:69'0     ~~~~~~~~~~~~~~~
# | next:69'1      ?              possible intended match
# |           70:  fmov s0, w8 
# | next:69'0     ~~~~~~~~~~~~~
# |           71:  ret 
# | next:69'0     ~~~~~
# |           72: .Lfunc_end3: 
# | next:69'0     ~~~~~~~~~~~~~
# |           73:  .size lround_i32_f64_simd, .Lfunc_end3-lround_i32_f64_simd 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           74:  .cfi_endproc 
# | next:69'0     ~~~~~~~~~~~~~~
# |           75:  // -- End function 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~
# |           76:  .globl lround_i32_f32_simd // -- Begin function lround_i32_f32_simd 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           77:  .p2align 2 
# | next:69'0     ~~~~~~~~~~~~
# |           78:  .type lround_i32_f32_simd, at function 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           79: lround_i32_f32_simd: // @lround_i32_f32_simd 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~
# |           80:  .cfi_startproc 
# |           81: // %bb.0: 
# | next:79'0              X error: no match found
# |           82:  fcvtas x8, s0 
# | next:79'0     ~~~~~~~~~~~~~~~
# | next:79'1      ?              possible intended match
# |           83:  fmov s0, w8 
# | next:79'0     ~~~~~~~~~~~~~
# |           84:  ret 
# | next:79'0     ~~~~~
# |           85: .Lfunc_end4: 
# | next:79'0     ~~~~~~~~~~~~~
# |           86:  .size lround_i32_f32_simd, .Lfunc_end4-lround_i32_f32_simd 
# | next:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           87:  .cfi_endproc 
# | next:79'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/165546


More information about the llvm-commits mailing list