[llvm] [AMDGPU][MIR] Serialize NumPhysicalVGPRSpillLanes (PR #115291)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 07:27:59 PST 2024


llvm-ci wrote:

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

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

```
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: | 
         .
         .
         .
>>>>>>

--

...

```

</details>

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


More information about the llvm-commits mailing list