Skip to content

[AMDGPU][MIR] Serialize NumPhysicalVGPRSpillLanes #115291

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

Conversation

optimisan
Copy link
Contributor

No description provided.

@optimisan
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @optimisan and the rest of your teammates on Graphite Graphite

@optimisan optimisan marked this pull request as ready for review November 7, 2024 10:41
@llvmbot
Copy link
Member

llvmbot commented Nov 7, 2024

@llvm/pr-subscribers-backend-amdgpu

Author: Akshat Oke (optimisan)

Changes

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

2 Files Affected:

  • (modified) llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp (+5-4)
  • (modified) llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h (+4)
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
index 1e43d2727a00da..2ddcd5a799cb10 100644
--- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
@@ -694,22 +694,22 @@ yaml::SIMachineFunctionInfo::SIMachineFunctionInfo(
     const llvm::MachineFunction &MF)
     : ExplicitKernArgSize(MFI.getExplicitKernArgSize()),
       MaxKernArgAlign(MFI.getMaxKernArgAlign()), LDSSize(MFI.getLDSSize()),
-      GDSSize(MFI.getGDSSize()),
-      DynLDSAlign(MFI.getDynLDSAlign()), IsEntryFunction(MFI.isEntryFunction()),
+      GDSSize(MFI.getGDSSize()), DynLDSAlign(MFI.getDynLDSAlign()),
+      IsEntryFunction(MFI.isEntryFunction()),
       NoSignedZerosFPMath(MFI.hasNoSignedZerosFPMath()),
       MemoryBound(MFI.isMemoryBound()), WaveLimiter(MFI.needsWaveLimiter()),
       HasSpilledSGPRs(MFI.hasSpilledSGPRs()),
       HasSpilledVGPRs(MFI.hasSpilledVGPRs()),
       HighBitsOf32BitAddress(MFI.get32BitAddressHighBits()),
       Occupancy(MFI.getOccupancy()),
+      NumPhysicalVGPRSpillLanes(MFI.getNumPhysicalVGPRSpillLanes()),
       ScratchRSrcReg(regToString(MFI.getScratchRSrcReg(), TRI)),
       FrameOffsetReg(regToString(MFI.getFrameOffsetReg(), TRI)),
       StackPtrOffsetReg(regToString(MFI.getStackPtrOffsetReg(), TRI)),
       BytesInStackArgArea(MFI.getBytesInStackArgArea()),
       ReturnsVoid(MFI.returnsVoid()),
       ArgInfo(convertArgumentInfo(MFI.getArgInfo(), TRI)),
-      PSInputAddr(MFI.getPSInputAddr()),
-      PSInputEnable(MFI.getPSInputEnable()),
+      PSInputAddr(MFI.getPSInputAddr()), PSInputEnable(MFI.getPSInputEnable()),
       Mode(MFI.getMode()) {
   for (Register Reg : MFI.getSGPRSpillPhysVGPRs())
     SpillPhysVGPRS.push_back(regToString(Reg, TRI));
@@ -754,6 +754,7 @@ bool SIMachineFunctionInfo::initializeBaseYamlFields(
   HasSpilledVGPRs = YamlMFI.HasSpilledVGPRs;
   BytesInStackArgArea = YamlMFI.BytesInStackArgArea;
   ReturnsVoid = YamlMFI.ReturnsVoid;
+  NumPhysicalVGPRSpillLanes = YamlMFI.NumPhysicalVGPRSpillLanes;
 
   if (YamlMFI.ScavengeFI) {
     auto FIOrErr = YamlMFI.ScavengeFI->getFI(MF.getFrameInfo());
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
index 018322eaa18665..6cd4a449de6fea 100644
--- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
+++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
@@ -275,6 +275,7 @@ struct SIMachineFunctionInfo final : public yaml::MachineFunctionInfo {
   // TODO: 10 may be a better default since it's the maximum.
   unsigned Occupancy = 0;
 
+  unsigned NumPhysicalVGPRSpillLanes = 0;
   SmallVector<StringValue, 2> SpillPhysVGPRS;
   SmallVector<StringValue> WWMReservedRegs;
 
@@ -337,6 +338,7 @@ template <> struct MappingTraits<SIMachineFunctionInfo> {
     YamlIO.mapOptional("highBitsOf32BitAddress",
                        MFI.HighBitsOf32BitAddress, 0u);
     YamlIO.mapOptional("occupancy", MFI.Occupancy, 0);
+    YamlIO.mapOptional("numPhysicalVGPRSpillLanes", MFI.NumPhysicalVGPRSpillLanes);
     YamlIO.mapOptional("spillPhysVGPRs", MFI.SpillPhysVGPRS);
     YamlIO.mapOptional("wwmReservedRegs", MFI.WWMReservedRegs);
     YamlIO.mapOptional("scavengeFI", MFI.ScavengeFI);
@@ -614,6 +616,8 @@ class SIMachineFunctionInfo final : public AMDGPUMachineFunction,
   ArrayRef<Register> getSGPRSpillVGPRs() const { return SpillVGPRs; }
   ArrayRef<Register> getSGPRSpillPhysVGPRs() const { return SpillPhysVGPRs; }
 
+  unsigned getNumPhysicalVGPRSpillLanes() const { return NumPhysicalVGPRSpillLanes; }
+
   const WWMSpillsMap &getWWMSpills() const { return WWMSpills; }
   const ReservedRegSet &getWWMReservedRegs() const { return WWMReservedRegs; }
 

@optimisan optimisan marked this pull request as draft November 7, 2024 10:42
Copy link

github-actions bot commented Nov 7, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

@optimisan optimisan force-pushed the users/Akshat-Oke/11-07-_amdgpu_mir_serialize_numphysicalvgprspilllanes branch from 6c29b99 to 8b0116a Compare November 7, 2024 10:49
@optimisan optimisan force-pushed the users/Akshat-Oke/11-07-_amdgpu_mir_serialize_numphysicalvgprspilllanes branch from 8b0116a to 88441d1 Compare November 7, 2024 10:57
@optimisan optimisan requested a review from cdevadas November 7, 2024 10:57
@optimisan optimisan marked this pull request as ready for review November 7, 2024 14:20
@optimisan optimisan merged commit 21835ee into main Nov 7, 2024
7 of 10 checks passed
@optimisan optimisan deleted the users/Akshat-Oke/11-07-_amdgpu_mir_serialize_numphysicalvgprspilllanes branch November 7, 2024 14:38
@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 2024

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building llvm at step 8 "Add check check-llvm".

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

Here is the relevant piece of the build log for the reference
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll -o - | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll -o -
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll:42:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:151:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:149:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:150:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll

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

Input was:
<<<<<<
         .
         .
         .
       146:  fp64-fp16-input-denormals: true 
       147:  fp64-fp16-output-denormals: true 
       148:  highBitsOf32BitAddress: 0 
       149:  occupancy: 8 
       150:  numPhysicalVGPRSpillLanes: 0 
       151:  vgprForAGPRCopy: '' 
next:42      !~~~~~~~~~~~~~~~~~~  error: match on wrong line
       152:  sgprForEXECCopy: '$sgpr100_sgpr101' 
       153:  longBranchReservedReg: '$sgpr2_sgpr3' 
       154:  hasInitWholeWave: false 
       155: body: | 
       156:  bb.0.bb0: 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/8105

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/MIR/AMDGPU/machine-function-info-after-pei.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o - | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck -check-prefix=AFTER-PEI /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck -check-prefix=AFTER-PEI /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o -
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll:41:19: error: AFTER-PEI-NEXT: is not on the line after the previous match
; AFTER-PEI-NEXT: scavengeFI: '%stack.3'
                  ^
<stdin>:149:2: note: 'next' match was here
 scavengeFI: '%stack.3'
 ^
<stdin>:147:14: note: previous match ended here
 occupancy: 5
             ^
<stdin>:148:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll

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

Input was:
<<<<<<
         .
         .
         .
       144:  fp64-fp16-input-denormals: true 
       145:  fp64-fp16-output-denormals: true 
       146:  highBitsOf32BitAddress: 0 
       147:  occupancy: 5 
       148:  numPhysicalVGPRSpillLanes: 0 
       149:  scavengeFI: '%stack.3' 
next:41      !~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
       150:  vgprForAGPRCopy: '' 
       151:  sgprForEXECCopy: '' 
       152:  longBranchReservedReg: '' 
       153:  hasInitWholeWave: false 
       154: body: | 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/8049

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 :: tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp 2> /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp.log
+ llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
RUN: at line 3: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck --check-prefix=RESULT /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck --check-prefix=RESULT /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir:55:16: �[0m�[0;1;31merror: �[0m�[1mRESULT-NEXT: is not on the line after the previous match
�[0m# RESULT-NEXT: wwmReservedRegs:
�[0;1;32m               ^
�[0m�[1m<stdin>:64:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m wwmReservedRegs:
�[0;1;32m ^
�[0m�[1m<stdin>:62:14: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m occupancy: 8
�[0;1;32m             ^
�[0m�[1m<stdin>:63:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m numPhysicalVGPRSpillLanes: 0
�[0;1;32m^
�[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir

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

Input was:
<<<<<<
�[1m�[0m�[0;1;30m          1: �[0m�[1m�[0;1;46m--- | �[0m
�[0;1;30m          2: �[0m�[1m�[0;1;46m ; ModuleID = '/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir' �[0m
�[0;1;30m          3: �[0m�[1m�[0;1;46m source_filename = "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir" �[0m
�[0;1;30m          4: �[0m�[1m�[0;1;46m target datalayout = "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9" �[0m
�[0;1;30m          5: �[0m�[1m�[0;1;46m  �[0m
�[0;1;30m          6: �[0m�[1m�[0;1;46m define void @func() { �[0m
�[0;1;30m          7: �[0m�[1m�[0;1;46m ret void �[0m
�[0;1;30m          8: �[0m�[1m�[0;1;46m } �[0m
�[0;1;30m          9: �[0m�[1m�[0;1;46m �[0m
�[0;1;30m         10: �[0m�[1m�[0;1;46m... �[0m
�[0;1;30m         11: �[0m�[1m�[0;1;46m--- �[0m
�[0;1;30m         12: �[0m�[1m�[0;1;46m�[0mname: func�[0;1;46m �[0m
�[0;1;32mcheck:7      ^~~~~~~~~~
�[0m�[0;1;30m         13: �[0m�[1m�[0;1;46malignment: 1 �[0m
�[0;1;30m         14: �[0m�[1m�[0;1;46mtracksRegLiveness: true �[0m
�[0;1;30m         15: �[0m�[1m�[0;1;46mnoPhis: true �[0m
�[0;1;30m         16: �[0m�[1m�[0;1;46misSSA: true �[0m
�[0;1;30m         17: �[0m�[1m�[0;1;46mnoVRegs: false �[0m
�[0;1;30m         18: �[0m�[1m�[0;1;46mhasFakeUses: false �[0m
�[0;1;30m         19: �[0m�[1m�[0;1;46mregisters: �[0m
�[0;1;30m         20: �[0m�[1m�[0;1;46m - { id: 0, class: vgpr_32 } �[0m
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 2024

LLVM Buildbot has detected a new failure on builder openmp-offload-libc-amdgpu-runtime running on omp-vega20-1 while building llvm at step 8 "Add check check-llvm".

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

Here is the relevant piece of the build log for the reference
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o - | /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/FileCheck -check-prefix=AFTER-PEI /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o -
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/FileCheck -check-prefix=AFTER-PEI /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll:41:19: error: AFTER-PEI-NEXT: is not on the line after the previous match
; AFTER-PEI-NEXT: scavengeFI: '%stack.3'
                  ^
<stdin>:149:2: note: 'next' match was here
 scavengeFI: '%stack.3'
 ^
<stdin>:147:14: note: previous match ended here
 occupancy: 5
             ^
<stdin>:148:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll

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

Input was:
<<<<<<
         .
         .
         .
       144:  fp64-fp16-input-denormals: true 
       145:  fp64-fp16-output-denormals: true 
       146:  highBitsOf32BitAddress: 0 
       147:  occupancy: 5 
       148:  numPhysicalVGPRSpillLanes: 0 
       149:  scavengeFI: '%stack.3' 
next:41      !~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
       150:  vgprForAGPRCopy: '' 
       151:  sgprForEXECCopy: '' 
       152:  longBranchReservedReg: '' 
       153:  hasInitWholeWave: false 
       154: body: | 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/5677

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/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll -o - | /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll -o -
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll:42:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:176:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:174:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:175:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll

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

Input was:
<<<<<<
         .
         .
         .
       171:  fp64-fp16-input-denormals: true 
       172:  fp64-fp16-output-denormals: true 
       173:  highBitsOf32BitAddress: 0 
       174:  occupancy: 8 
       175:  numPhysicalVGPRSpillLanes: 0 
       176:  vgprForAGPRCopy: '' 
next:42      !~~~~~~~~~~~~~~~~~~  error: match on wrong line
       177:  sgprForEXECCopy: '$sgpr100_sgpr101' 
       178:  longBranchReservedReg: '$sgpr2_sgpr3' 
       179:  hasInitWholeWave: false 
       180: body: | 
       181:  bb.0.bb0: 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-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/137/builds/8204

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/MIR/AMDGPU/machine-function-info-long-branch-reg.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll -o - | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll -o -
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll:42:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:151:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:149:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:150:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll

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

Input was:
<<<<<<
         .
         .
         .
       146:  fp64-fp16-input-denormals: true 
       147:  fp64-fp16-output-denormals: true 
       148:  highBitsOf32BitAddress: 0 
       149:  occupancy: 8 
       150:  numPhysicalVGPRSpillLanes: 0 
       151:  vgprForAGPRCopy: '' 
next:42      !~~~~~~~~~~~~~~~~~~  error: match on wrong line
       152:  sgprForEXECCopy: '$sgpr100_sgpr101' 
       153:  longBranchReservedReg: '$sgpr2_sgpr3' 
       154:  hasInitWholeWave: false 
       155: body: | 
       156:  bb.0.bb0: 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/5934

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 :: tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp 2> /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp.log
+ llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
RUN: at line 3: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck --check-prefix=RESULT /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck --check-prefix=RESULT /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir:55:16: error: RESULT-NEXT: is not on the line after the previous match
# RESULT-NEXT: wwmReservedRegs:
               ^
<stdin>:64:2: note: 'next' match was here
 wwmReservedRegs:
 ^
<stdin>:62:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:63:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir

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

Input was:
<<<<<<
         .
         .
         .
        59:  fp64-fp16-input-denormals: false 
        60:  fp64-fp16-output-denormals: false 
        61:  highBitsOf32BitAddress: 4276993775 
        62:  occupancy: 8 
        63:  numPhysicalVGPRSpillLanes: 0 
        64:  wwmReservedRegs: 
next:55      !~~~~~~~~~~~~~~~  error: match on wrong line
        65:  - '$vgpr2' 
        66:  - '$vgpr3' 
        67:  vgprForAGPRCopy: '$vgpr33' 
        68: body: | 
        69:  bb.0: 
         .
         .
         .
>>>>>>

--
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-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/185/builds/8091

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/MIR/AMDGPU/machine-function-info-after-pei.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o - | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck -check-prefix=AFTER-PEI /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o -
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck -check-prefix=AFTER-PEI /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll:41:19: error: AFTER-PEI-NEXT: is not on the line after the previous match
; AFTER-PEI-NEXT: scavengeFI: '%stack.3'
                  ^
<stdin>:149:2: note: 'next' match was here
 scavengeFI: '%stack.3'
 ^
<stdin>:147:14: note: previous match ended here
 occupancy: 5
             ^
<stdin>:148:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll

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

Input was:
<<<<<<
         .
         .
         .
       144:  fp64-fp16-input-denormals: true 
       145:  fp64-fp16-output-denormals: true 
       146:  highBitsOf32BitAddress: 0 
       147:  occupancy: 5 
       148:  numPhysicalVGPRSpillLanes: 0 
       149:  scavengeFI: '%stack.3' 
next:41      !~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
       150:  vgprForAGPRCopy: '' 
       151:  sgprForEXECCopy: '' 
       152:  longBranchReservedReg: '' 
       153:  hasInitWholeWave: false 
       154: body: | 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/5254

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 :: tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp 2> /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp.log
+ llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
RUN: at line 3: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck --check-prefix=RESULT /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck --check-prefix=RESULT /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir:55:16: error: RESULT-NEXT: is not on the line after the previous match
# RESULT-NEXT: wwmReservedRegs:
               ^
<stdin>:64:2: note: 'next' match was here
 wwmReservedRegs:
 ^
<stdin>:62:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:63:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir

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

Input was:
<<<<<<
         .
         .
         .
        59:  fp64-fp16-input-denormals: false 
        60:  fp64-fp16-output-denormals: false 
        61:  highBitsOf32BitAddress: 4276993775 
        62:  occupancy: 8 
        63:  numPhysicalVGPRSpillLanes: 0 
        64:  wwmReservedRegs: 
next:55      !~~~~~~~~~~~~~~~  error: match on wrong line
        65:  - '$vgpr2' 
        66:  - '$vgpr3' 
        67:  vgprForAGPRCopy: '$vgpr33' 
        68: body: | 
        69:  bb.0: 
         .
         .
         .
>>>>>>

--
...
Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=amdgcn -verify-machineinstrs -amdgpu-s-branch-bits=5 -stop-after=branch-relaxation  /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll -o - | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=amdgcn -verify-machineinstrs -amdgpu-s-branch-bits=5 -stop-after=branch-relaxation /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll:41:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: scavengeFI: '%stack.0'
              ^
<stdin>:569:2: note: 'next' match was here
 scavengeFI: '%stack.0'
 ^
<stdin>:567:14: note: previous match ended here
 occupancy: 5
             ^
<stdin>:568:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll:307:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: scavengeFI: '%stack.0'
              ^
<stdin>:926:2: note: 'next' match was here
 scavengeFI: '%stack.0'
 ^
<stdin>:924:14: note: previous match ended here
 occupancy: 5
             ^
<stdin>:925:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll

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

Input was:
<<<<<<
          .
          .
          .
        564:  fp64-fp16-input-denormals: true 
        565:  fp64-fp16-output-denormals: true 
        566:  highBitsOf32BitAddress: 0 
        567:  occupancy: 5 
        568:  numPhysicalVGPRSpillLanes: 0 
        569:  scavengeFI: '%stack.0' 
next:41       !~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-multistage running on ppc64le-clang-multistage-test while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp 2> /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp.log
+ llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
RUN: at line 3: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck --check-prefix=RESULT /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck --check-prefix=RESULT /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir:55:16: error: RESULT-NEXT: is not on the line after the previous match
# RESULT-NEXT: wwmReservedRegs:
               ^
<stdin>:64:2: note: 'next' match was here
 wwmReservedRegs:
 ^
<stdin>:62:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:63:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir

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

Input was:
<<<<<<
         .
         .
         .
        59:  fp64-fp16-input-denormals: false 
        60:  fp64-fp16-output-denormals: false 
        61:  highBitsOf32BitAddress: 4276993775 
        62:  occupancy: 8 
        63:  numPhysicalVGPRSpillLanes: 0 
        64:  wwmReservedRegs: 
next:55      !~~~~~~~~~~~~~~~  error: match on wrong line
        65:  - '$vgpr2' 
        66:  - '$vgpr3' 
        67:  vgprForAGPRCopy: '$vgpr33' 
        68: body: | 
        69:  bb.0: 
         .
         .
         .
>>>>>>

--
...
Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o - | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck -check-prefix=AFTER-PEI /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck -check-prefix=AFTER-PEI /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll:41:19: error: AFTER-PEI-NEXT: is not on the line after the previous match
; AFTER-PEI-NEXT: scavengeFI: '%stack.3'
                  ^
<stdin>:149:2: note: 'next' match was here
 scavengeFI: '%stack.3'
 ^
<stdin>:147:14: note: previous match ended here
 occupancy: 5
             ^
<stdin>:148:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll

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

Input was:
<<<<<<
         .
         .
         .
       144:  fp64-fp16-input-denormals: true 
       145:  fp64-fp16-output-denormals: true 
       146:  highBitsOf32BitAddress: 0 
       147:  occupancy: 5 
       148:  numPhysicalVGPRSpillLanes: 0 
       149:  scavengeFI: '%stack.3' 
next:41      !~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
       150:  vgprForAGPRCopy: '' 
       151:  sgprForEXECCopy: '' 
       152:  longBranchReservedReg: '' 
       153:  hasInitWholeWave: false 
       154: body: | 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/12116

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/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll -o - | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -amdgpu-s-branch-bits=4 -stop-after=branch-relaxation -verify-machineinstrs /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll -o -
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll:42:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:176:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:174:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:175:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll

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

Input was:
<<<<<<
         .
         .
         .
       171:  fp64-fp16-input-denormals: true 
       172:  fp64-fp16-output-denormals: true 
       173:  highBitsOf32BitAddress: 0 
       174:  occupancy: 8 
       175:  numPhysicalVGPRSpillLanes: 0 
       176:  vgprForAGPRCopy: '' 
next:42      !~~~~~~~~~~~~~~~~~~  error: match on wrong line
       177:  sgprForEXECCopy: '$sgpr100_sgpr101' 
       178:  longBranchReservedReg: '$sgpr2_sgpr3' 
       179:  hasInitWholeWave: false 
       180: body: | 
       181:  bb.0.bb0: 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/8444

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/MIR/AMDGPU/machine-function-info-no-ir.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir -o - | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck -check-prefixes=FULL,ALL /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir -o -
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck -check-prefixes=FULL,ALL /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir:51:14: error: FULL-NEXT: is not on the line after the previous match
# FULL-NEXT: vgprForAGPRCopy: ''
             ^
<stdin>:206:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:204:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:205:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir:155:14: error: FULL-NEXT: is not on the line after the previous match
# FULL-NEXT: vgprForAGPRCopy: ''
             ^
<stdin>:311:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:309:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:310:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir:230:14: error: FULL-NEXT: is not on the line after the previous match
# FULL-NEXT: vgprForAGPRCopy: ''
             ^
<stdin>:416:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:414:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:415:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir:306:14: error: FULL-NEXT: is not on the line after the previous match
# FULL-NEXT: vgprForAGPRCopy: ''
             ^
<stdin>:521:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/11665

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/MIR/AMDGPU/machine-function-info-after-pei.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o - | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck -check-prefix=AFTER-PEI /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -amdgpu-spill-sgpr-to-vgpr=0 -stop-after prologepilog -verify-machineinstrs /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll -o -
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck -check-prefix=AFTER-PEI /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll:41:19: error: AFTER-PEI-NEXT: is not on the line after the previous match
; AFTER-PEI-NEXT: scavengeFI: '%stack.3'
                  ^
<stdin>:149:2: note: 'next' match was here
 scavengeFI: '%stack.3'
 ^
<stdin>:147:14: note: previous match ended here
 occupancy: 5
             ^
<stdin>:148:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll

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

Input was:
<<<<<<
         .
         .
         .
       144:  fp64-fp16-input-denormals: true 
       145:  fp64-fp16-output-denormals: true 
       146:  highBitsOf32BitAddress: 0 
       147:  occupancy: 5 
       148:  numPhysicalVGPRSpillLanes: 0 
       149:  scavengeFI: '%stack.3' 
next:41      !~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
       150:  vgprForAGPRCopy: '' 
       151:  sgprForEXECCopy: '' 
       152:  longBranchReservedReg: '' 
       153:  hasInitWholeWave: false 
       154: body: | 
         .
         .
         .
>>>>>>

--

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/6047

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/MIR/AMDGPU/machine-function-info.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -stop-after=si-pre-allocate-wwm-regs -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/MIR/AMDGPU/Output/machine-function-info.ll.tmp.mir /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -stop-after=si-pre-allocate-wwm-regs -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/MIR/AMDGPU/Output/machine-function-info.ll.tmp.mir /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
RUN: at line 2: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -run-pass=none -verify-machineinstrs /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/MIR/AMDGPU/Output/machine-function-info.ll.tmp.mir -o - | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -run-pass=none -verify-machineinstrs /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/MIR/AMDGPU/Output/machine-function-info.ll.tmp.mir -o -
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll:51:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:228:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:226:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:227:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll:97:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:339:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:337:15: note: previous match ended here
 occupancy: 10
              ^
<stdin>:338:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll:167:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:666:2: note: 'next' match was here
 vgprForAGPRCopy: ''
 ^
<stdin>:664:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:665:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll:219:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: vgprForAGPRCopy: ''
              ^
<stdin>:778:2: note: 'next' match was here
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 2024

LLVM Buildbot has detected a new failure on builder clang-aarch64-global-isel running on linaro-clang-aarch64-global-isel while building llvm at step 7 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp 2> /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp.log
+ llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
RUN: at line 3: /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck --check-prefix=RESULT /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir < /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
+ /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck --check-prefix=RESULT /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir
/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir:55:16: error: RESULT-NEXT: is not on the line after the previous match
# RESULT-NEXT: wwmReservedRegs:
               ^
<stdin>:64:2: note: 'next' match was here
 wwmReservedRegs:
 ^
<stdin>:62:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:63:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir

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

Input was:
<<<<<<
         .
         .
         .
        59:  fp64-fp16-input-denormals: false 
        60:  fp64-fp16-output-denormals: false 
        61:  highBitsOf32BitAddress: 4276993775 
        62:  occupancy: 8 
        63:  numPhysicalVGPRSpillLanes: 0 
        64:  wwmReservedRegs: 
next:55      !~~~~~~~~~~~~~~~  error: match on wrong line
        65:  - '$vgpr2' 
        66:  - '$vgpr3' 
        67:  vgprForAGPRCopy: '$vgpr33' 
        68: body: | 
        69:  bb.0: 
         .
         .
         .
>>>>>>

--
...

@dyung
Copy link
Collaborator

dyung commented Nov 7, 2024

@optimisan can you take a look at these test failures and revert if you need time to investigate so that we can get the bots green again?

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 7, 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/13979

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 :: tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp 2> /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp.log
+ llvm-reduce -abort-on-invalid-reduction -simplify-mir -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 --test /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir --test-arg --input-file /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
RUN: at line 3: /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --check-prefix=RESULT /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir < /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-reduce/mir/Output/preserve-machine-function-info-amdgpu.mir.tmp
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --check-prefix=RESULT /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir:55:16: error: RESULT-NEXT: is not on the line after the previous match
# RESULT-NEXT: wwmReservedRegs:
               ^
<stdin>:64:2: note: 'next' match was here
 wwmReservedRegs:
 ^
<stdin>:62:14: note: previous match ended here
 occupancy: 8
             ^
<stdin>:63:1: note: non-matching line after previous match is here
 numPhysicalVGPRSpillLanes: 0
^

Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-reduce/mir/preserve-machine-function-info-amdgpu.mir

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

Input was:
<<<<<<
         .
         .
         .
        59:  fp64-fp16-input-denormals: false 
        60:  fp64-fp16-output-denormals: false 
        61:  highBitsOf32BitAddress: 4276993775 
        62:  occupancy: 8 
        63:  numPhysicalVGPRSpillLanes: 0 
        64:  wwmReservedRegs: 
next:55      !~~~~~~~~~~~~~~~  error: match on wrong line
        65:  - '$vgpr2' 
        66:  - '$vgpr3' 
        67:  vgprForAGPRCopy: '$vgpr33' 
        68: body: | 
        69:  bb.0: 
         .
         .
         .
>>>>>>

--
...

@optimisan
Copy link
Contributor Author

Needed to revert this, thanks.

Groverkss pushed a commit to iree-org/llvm-project that referenced this pull request Nov 15, 2024
Groverkss pushed a commit to iree-org/llvm-project that referenced this pull request Nov 15, 2024
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.

5 participants