[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:28:44 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `llvm` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[1322/1327] Building CXX object unittests/Transforms/Scalar/CMakeFiles/ScalarTests.dir/LoopPassManagerTest.cpp.o
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[1323/1327] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[1323/1327] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/wasm-ld
-- Testing: 55889 tests, 60 workers --
Testing:  0.. 10.. 20.. 30
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (18939 of 55889)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

Input was:
<<<<<<
            .
            .
            .
          197: f16: # @f16 
Step 7 (check) failure: check (failure)
...
[1322/1327] Building CXX object unittests/Transforms/Scalar/CMakeFiles/ScalarTests.dir/LoopPassManagerTest.cpp.o
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[1323/1327] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[1323/1327] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ulp722ro/bin/wasm-ld
-- Testing: 55889 tests, 60 workers --
Testing:  0.. 10.. 20.. 30
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (18939 of 55889)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

Input was:
<<<<<<
            .
            .
            .
          197: f16: # @f16 

```

</details>

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


More information about the llvm-commits mailing list