[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
Tue Oct 1 08:05:38 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".

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

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

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

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/llc < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
/b/1/llvm-x86_64-debian-dylib/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
 ^
/b/1/llvm-x86_64-debian-dylib/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: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll

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

Input was:
<<<<<<
            .
            .
            .
          197: f16: # @f16 
          198:  .cfi_startproc 
          199: # %bb.0: 
          200:  addi sp, sp, -16 
          201:  .cfi_def_cfa_offset 16 
          202:  csrr a1, vlenb 
next:252'0                    X error: no match found
          203:  sub sp, sp, a1 
next:252'0     ~~~~~~~~~~~~~~~~
          204:  .cfi_escape 0x0f, 0x0d, 0x72, 0x00, 0x11, 0x10, 0x22, 0x11, 0x01, 0x92, 0xa2, 0x38, 0x00, 0x1e, 0x22 # sp + 16 + 1 * vlenb 
next:252'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          205:  addi a1, sp, 16 
next:252'0     ~~~~~~~~~~~~~~~~~
...

```

</details>

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


More information about the llvm-commits mailing list