Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

lukel97
Copy link
Contributor

@lukel97 lukel97 commented Sep 27, 2024

After #110144, we can finish off #110129 and fold f16 vfmv.f.s into a flh.
vfmv.f.s is only available for f16 with zvfh, which in turn requires zfhmin so we can use flh.

bf16 has no vfmv.f.s so the extract_vector_elt is lowered as an integer in #110144, and gets the existing integer vmv.x.s fold.

After llvm#110144, we can finish off llvm#110129 and fold f16 vfmv.f.s into a flh.
vfmv.f.s is only available for f16 with zvfh, which in turn requires zfhmin so we can use flh.

bf16 has no vfmv.f.s so the extract_vector_elt is lowered as an integer in llvm#110144, and gets the existing integer vmv.x.s fold.
@llvmbot
Copy link
Member

llvmbot commented Sep 27, 2024

@llvm/pr-subscribers-backend-risc-v

Author: Luke Lau (lukel97)

Changes

After #110144, we can finish off #110129 and fold f16 vfmv.f.s into a flh.
vfmv.f.s is only available for f16 with zvfh, which in turn requires zfhmin so we can use flh.

bf16 has no vfmv.f.s so the extract_vector_elt is lowered as an integer in #110144, and gets the existing integer vmv.x.s fold.


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

2 Files Affected:

  • (modified) llvm/lib/Target/RISCV/RISCVInstrInfo.cpp (+2-2)
  • (modified) llvm/test/CodeGen/RISCV/rvv/stack-folding.ll (+73-2)
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
index f0295d289ed86a..0a5b55846ed51c 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
@@ -804,8 +804,8 @@ MachineInstr *RISCVInstrInfo::foldMemoryOperandImpl(
           MI.getOperand(RISCVII::getSEWOpNum(MI.getDesc())).getImm();
       switch (Log2SEW) {
       case 4:
-        // TODO: Support f16/bf16
-        return nullptr;
+        LoadOpc = RISCV::FLH;
+        break;
       case 5:
         LoadOpc = RISCV::FLW;
         break;
diff --git a/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll b/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
index f966835622a9f3..119d357a386195 100644
--- a/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+++ b/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
-; RUN: llc < %s -mtriple=riscv32 -mattr=+v -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV32 %s
-; RUN: llc < %s -mtriple=riscv64 -mattr=+v -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV64 %s
+; RUN: llc < %s -mtriple=riscv32 -mattr=+v,+zfhmin,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV32 %s
+; RUN: llc < %s -mtriple=riscv64 -mattr=+v,+zfhmin,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV64 %s
 
 define i64 @i64(<vscale x 1 x i64> %v, i1 %c) {
 ; RV32-LABEL: i64:
@@ -257,3 +257,74 @@ falsebb:
   ret float 0.0
 }
 
+define half @f16(<vscale x 1 x half> %v, i1 %c) {
+; CHECK-LABEL: f16:
+; CHECK:       # %bb.0:
+; CHECK-NEXT:    addi sp, sp, -16
+; CHECK-NEXT:    .cfi_def_cfa_offset 16
+; CHECK-NEXT:    csrr a1, vlenb
+; CHECK-NEXT:    slli a1, a1, 1
+; CHECK-NEXT:    sub sp, sp, a1
+; CHECK-NEXT:    .cfi_escape 0x0f, 0x0d, 0x72, 0x00, 0x11, 0x10, 0x22, 0x11, 0x02, 0x92, 0xa2, 0x38, 0x00, 0x1e, 0x22 # sp + 16 + 2 * vlenb
+; CHECK-NEXT:    addi a1, sp, 16
+; CHECK-NEXT:    vs1r.v v8, (a1) # Unknown-size Folded Spill
+; CHECK-NEXT:    andi a0, a0, 1
+; CHECK-NEXT:    #APP
+; CHECK-NEXT:    #NO_APP
+; CHECK-NEXT:    beqz a0, .LBB6_2
+; CHECK-NEXT:  # %bb.1: # %truebb
+; CHECK-NEXT:    flh fa0, 16(sp) # 8-byte Folded Reload
+; CHECK-NEXT:    j .LBB6_3
+; CHECK-NEXT:  .LBB6_2: # %falsebb
+; CHECK-NEXT:    fmv.h.x fa0, zero
+; CHECK-NEXT:  .LBB6_3: # %falsebb
+; CHECK-NEXT:    csrr a0, vlenb
+; CHECK-NEXT:    slli a0, a0, 1
+; CHECK-NEXT:    add sp, sp, a0
+; CHECK-NEXT:    addi sp, sp, 16
+; CHECK-NEXT:    ret
+  tail call void asm sideeffect "", "~{v0},~{v1},~{v2},~{v3},~{v4},~{v5},~{v6},~{v7},~{v8},~{v9},~{v10},~{v11},~{v12},~{v13},~{v14},~{v15},~{v16},~{v17},~{v18},~{v19},~{v20},~{v21},~{v22},~{v23},~{v24},~{v25},~{v26},~{v27},~{v28},~{v29},~{v30},~{v31}"()
+  br i1 %c, label %truebb, label %falsebb
+truebb:
+  %x = extractelement <vscale x 1 x half> %v, i32 0
+  ret half %x
+falsebb:
+  ret half 0.0
+}
+
+define bfloat @bf16(<vscale x 2 x bfloat> %v, i1 %c) {
+; CHECK-LABEL: bf16:
+; CHECK:       # %bb.0:
+; CHECK-NEXT:    addi sp, sp, -16
+; CHECK-NEXT:    .cfi_def_cfa_offset 16
+; CHECK-NEXT:    csrr a1, vlenb
+; CHECK-NEXT:    slli a1, a1, 1
+; CHECK-NEXT:    sub sp, sp, a1
+; CHECK-NEXT:    .cfi_escape 0x0f, 0x0d, 0x72, 0x00, 0x11, 0x10, 0x22, 0x11, 0x02, 0x92, 0xa2, 0x38, 0x00, 0x1e, 0x22 # sp + 16 + 2 * vlenb
+; CHECK-NEXT:    addi a1, sp, 16
+; CHECK-NEXT:    vs1r.v v8, (a1) # Unknown-size Folded Spill
+; CHECK-NEXT:    andi a0, a0, 1
+; CHECK-NEXT:    #APP
+; CHECK-NEXT:    #NO_APP
+; CHECK-NEXT:    beqz a0, .LBB7_2
+; CHECK-NEXT:  # %bb.1: # %truebb
+; CHECK-NEXT:    lh a0, 16(sp) # 8-byte Folded Reload
+; CHECK-NEXT:    fmv.h.x fa0, a0
+; CHECK-NEXT:    j .LBB7_3
+; CHECK-NEXT:  .LBB7_2: # %falsebb
+; CHECK-NEXT:    fmv.h.x fa0, zero
+; CHECK-NEXT:  .LBB7_3: # %falsebb
+; CHECK-NEXT:    csrr a0, vlenb
+; CHECK-NEXT:    slli a0, a0, 1
+; CHECK-NEXT:    add sp, sp, a0
+; CHECK-NEXT:    addi sp, sp, 16
+; CHECK-NEXT:    ret
+  tail call void asm sideeffect "", "~{v0},~{v1},~{v2},~{v3},~{v4},~{v5},~{v6},~{v7},~{v8},~{v9},~{v10},~{v11},~{v12},~{v13},~{v14},~{v15},~{v16},~{v17},~{v18},~{v19},~{v20},~{v21},~{v22},~{v23},~{v24},~{v25},~{v26},~{v27},~{v28},~{v29},~{v30},~{v31}"()
+  br i1 %c, label %truebb, label %falsebb
+truebb:
+  %x = extractelement <vscale x 2 x bfloat> %v, i32 0
+  ret bfloat %x
+falsebb:
+  ret bfloat 0.0
+}
+

@@ -1,6 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
; RUN: llc < %s -mtriple=riscv32 -mattr=+v -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV32 %s
; RUN: llc < %s -mtriple=riscv64 -mattr=+v -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV64 %s
; RUN: llc < %s -mtriple=riscv32 -mattr=+v,+zfhmin,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | FileCheck --check-prefixes=CHECK,RV32 %s
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add (back) a plain vector line so that we have coverage of trying to fold the case without the instructions? (I think this just goes the integer path, but it be good to have coverage.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need +zvfhmin and +zvfbfmin or we'll crash when trying to handle the scalable half/bfloat vectors. But we can still test the integer path if we make the scalar types illegal so I've added more run lines without zfhmin and zfbfmin

Copy link
Collaborator

@preames preames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lukel97 lukel97 merged commit a81902f into llvm:main Oct 1, 2024
6 of 8 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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: /b/ml-opt-devrel-x86-64-b1/build/bin/llc < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
/b/ml-opt-devrel-x86-64-b1/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/ml-opt-devrel-x86-64-b1/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/ml-opt-devrel-x86-64-b1/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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: /b/ml-opt-rel-x86-64-b1/build/bin/llc < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
/b/ml-opt-rel-x86-64-b1/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/ml-opt-rel-x86-64-b1/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/ml-opt-rel-x86-64-b1/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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: /b/ml-opt-dev-x86-64-b1/build/bin/llc < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
/b/ml-opt-dev-x86-64-b1/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/ml-opt-dev-x86-64-b1/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/ml-opt-dev-x86-64-b1/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building llvm at step 7 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 7 (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: /build/buildbot/premerge-monolithic-linux/build/bin/llc < /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
/build/buildbot/premerge-monolithic-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
 ^
/build/buildbot/premerge-monolithic-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: /build/buildbot/premerge-monolithic-linux/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

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

Here is the relevant piece of the build log for the reference
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
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll:252:15: �[0m�[0;1;31merror: �[0m�[1mZFMIN-NEXT: expected string not found in input
�[0m; ZFMIN-NEXT: slli a1, a1, 1
�[0;1;32m              ^
�[0m�[1m<stdin>:202:16: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m csrr a1, vlenb
�[0;1;32m               ^
�[0m�[1m<stdin>:205:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m addi a1, sp, 16
�[0;1;32m ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll:316:15: �[0m�[0;1;31merror: �[0m�[1mZFMIN-NEXT: expected string not found in input
�[0m; ZFMIN-NEXT: slli a1, a1, 1
�[0;1;32m              ^
�[0m�[1m<stdin>:234:16: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m csrr a1, vlenb
�[0;1;32m               ^
�[0m�[1m<stdin>:237:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m addi a1, sp, 16
�[0;1;32m ^
�[0m
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:
<<<<<<
�[1m�[0m�[0;1;30m             1: �[0m�[1m�[0;1;46m .text �[0m
�[0;1;30m             2: �[0m�[1m�[0;1;46m .attribute 4, 16 �[0m
�[0;1;30m             3: �[0m�[1m�[0;1;46m .attribute 5, "rv32i2p1_f2p2_d2p2_v1p0_zicsr2p0_zfbfmin1p0_zfhmin1p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvfbfmin1p0_zvfh1p0_zvfhmin1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0" �[0m
�[0;1;30m             4: �[0m�[1m�[0;1;46m .file "<stdin>" �[0m
�[0;1;30m             5: �[0m�[1m�[0;1;46m .globl i64 # -- Begin function i64 �[0m
�[0;1;30m             6: �[0m�[1m�[0;1;46m .p2align 2 �[0m
�[0;1;30m             7: �[0m�[1m�[0;1;46m .type i64,@function �[0m
�[0;1;30m             8: �[0m�[1m�[0;1;46m .variant_cc i64 �[0m
�[0;1;30m             9: �[0m�[1m�[0;1;46m�[0mi64:�[0;1;46m # @i64 �[0m
�[0;1;32mlabel:8'0       ^~~~
�[0m�[0;1;32mlabel:8'1       ^~~~
�[0m�[0;1;30m            10: �[0m�[1m�[0;1;46m .cfi_startproc �[0m
�[0;1;30m            11: �[0m�[1m�[0;1;46m�[0m# %bb.0:�[0;1;46m �[0m
�[0;1;32mcheck:9         ^~~~~~~~
�[0m�[0;1;30m            12: �[0m�[1m�[0;1;46m �[0maddi sp, sp, -16�[0;1;46m �[0m
�[0;1;32mnext:10          ^~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder openmp-s390x-linux running on systemz-1 while building llvm at step 6 "test-openmp".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-openmp) failure: test (failure)
******************** TEST 'libomp :: tasking/issue-94260-2.c' FAILED ********************
Exit Code: -11

Command Output (stdout):
--
# RUN: at line 1
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/./bin/clang -fopenmp   -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/openmp/runtime/test -L /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/src  -fno-omit-frame-pointer -mbackchain -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/openmp/runtime/test/ompt /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/openmp/runtime/test/tasking/issue-94260-2.c -o /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/tasking/Output/issue-94260-2.c.tmp -lm -latomic && /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/tasking/Output/issue-94260-2.c.tmp
# executed command: /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/./bin/clang -fopenmp -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/openmp/runtime/test -L /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -fno-omit-frame-pointer -mbackchain -I /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/openmp/runtime/test/ompt /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/openmp/runtime/test/tasking/issue-94260-2.c -o /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/tasking/Output/issue-94260-2.c.tmp -lm -latomic
# executed command: /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/tasking/Output/issue-94260-2.c.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: -11

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder clang-debian-cpp20 running on clang-debian-cpp20 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llc < /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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
 ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

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

Here is the relevant piece of the build log for the reference
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 

@lukel97
Copy link
Contributor Author

lukel97 commented Oct 1, 2024

I forgot to rebase after #110312, b609163 should fix the buildbot failures

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/llc < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 7 "test-build-stage1-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 7 (test-build-stage1-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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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     ~~~~~~~~~~~~~~~~~
...
Step 13 (test-build-stage2-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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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/worker/as-builder-4/ramdisk/lld-x86_64/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/worker/as-builder-4/ramdisk/lld-x86_64/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-fast running on sanitizer-buildbot3 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85947 of 85948 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (20597 of 85947)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

Input was:
<<<<<<
            .
            .
            .
          197: f16: # @f16 
Step 9 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85947 of 85948 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (20597 of 85947)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

Input was:
<<<<<<
            .
            .
            .
          197: f16: # @f16 
Step 12 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85946 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (14904 of 85946)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

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

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-ubsan running on sanitizer-buildbot10 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82506 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40..
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (40060 of 82506)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

Input was:
<<<<<<
            .
            .
            .
          197: f16: # @f16 
Step 10 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82506 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40..
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (40060 of 82506)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

Input was:
<<<<<<
            .
            .
            .
          197: f16: # @f16 
Step 13 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 79833 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 
FAIL: LLVM :: CodeGen/RISCV/rvv/stack-folding.ll (40056 of 79833)
******************** TEST 'LLVM :: CodeGen/RISCV/rvv/stack-folding.ll' FAILED ********************
Exit Code: 1

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

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

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

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
/b/1/clang-x86_64-debian-fast/llvm.src/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/clang-x86_64-debian-fast/llvm.src/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/clang-x86_64-debian-fast/llvm.src/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
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: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfbfmin,+zvfh,+zvfbfmin -verify-machineinstrs
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck --check-prefixes=CHECK,RV32,ZFMIN /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/rvv/stack-folding.ll
/b/1/llvm-clang-x86_64-expensive-checks-debian/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-clang-x86_64-expensive-checks-debian/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-clang-x86_64-expensive-checks-debian/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     ~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 1, 2024

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

Here is the relevant piece of the build log for the reference
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     ~~~~~~~~~~~~~~~~~
...

Sterling-Augustine pushed a commit to Sterling-Augustine/llvm-project that referenced this pull request Oct 3, 2024
After llvm#110144, we can finish off llvm#110129 and fold f16 vfmv.f.s into a
flh.
vfmv.f.s is only available for f16 with zvfh, which in turn requires
zfhmin so we can use flh.

bf16 has no vfmv.f.s so the extract_vector_elt is lowered as an integer
in llvm#110144, and gets the existing integer vmv.x.s fold.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants