[llvm] [RISCV] Fold vfmv.f.s of f16 into load from stack (PR #110214)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 23:22:27 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/6087

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll:252:15: error: ZFMIN-NEXT: expected string not found in input
; ZFMIN-NEXT: slli a1, a1, 1
              ^
<stdin>:202:16: note: scanning from here
 csrr a1, vlenb
               ^
<stdin>:205:2: note: possible intended match here
 addi a1, sp, 16
 ^
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll:316:15: error: ZFMIN-NEXT: expected string not found in input
; ZFMIN-NEXT: slli a1, a1, 1
              ^
<stdin>:234:16: note: scanning from here
 csrr a1, vlenb
               ^
<stdin>:237:2: note: possible intended match here
 addi a1, sp, 16
 ^

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             1:  .text 
             2:  .attribute 4, 16 
             3:  .attribute 5, "rv32i2p1_f2p2_d2p2_v1p0_zicsr2p0_zfbfmin1p0_zfhmin1p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvfbfmin1p0_zvfh1p0_zvfhmin1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0" 
             4:  .file "<stdin>" 
             5:  .globl i64 # -- Begin function i64 
             6:  .p2align 2 
             7:  .type i64, at function 
             8:  .variant_cc i64 
             9: i64: # @i64 
label:8'0       ^~~~
label:8'1       ^~~~
            10:  .cfi_startproc 
            11: # %bb.0: 
check:9         ^~~~~~~~
            12:  addi sp, sp, -16 
next:10          ^~~~~~~~~~~~~~~~
...

```

</details>

https://github.com/llvm/llvm-project/pull/110214


More information about the llvm-commits mailing list