[clang] [llvm] [AMDGPU] Infer amdgpu-no-flat-scratch-init attribute in AMDGPUAttributor (PR #94647)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 4 14:21:29 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang,llvm` at step 8 "Add check check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/12341
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AMDGPU/attributor-flatscratchinit-globalisel.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/opt -S -O2 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-globalisel.ll | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -global-isel -stop-after=irtranslator | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefixes=GFX10 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-globalisel.ll
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefixes=GFX10 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-globalisel.ll
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/opt -S -O2 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-globalisel.ll
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -global-isel -stop-after=irtranslator
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-globalisel.ll:521:15: error: GFX10-NEXT: expected string not found in input
; GFX10-NEXT: kernargSegmentPtr: { reg: '$sgpr6_sgpr7' }
^
<stdin>:4864:38: note: scanning from here
dispatchPtr: { reg: '$sgpr4_sgpr5' }
^
<stdin>:4866:2: note: possible intended match here
kernargSegmentPtr: { reg: '$sgpr8_sgpr9' }
^
Input file: <stdin>
Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-globalisel.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
4859: stackPtrOffsetReg: '$sp_reg'
4860: bytesInStackArgArea: 0
4861: returnsVoid: true
4862: argumentInfo:
4863: privateSegmentBuffer: { reg: '$sgpr0_sgpr1_sgpr2_sgpr3' }
4864: dispatchPtr: { reg: '$sgpr4_sgpr5' }
next:521'0 X error: no match found
4865: queuePtr: { reg: '$sgpr6_sgpr7' }
next:521'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4866: kernargSegmentPtr: { reg: '$sgpr8_sgpr9' }
next:521'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:521'1 ? possible intended match
4867: dispatchID: { reg: '$sgpr10_sgpr11' }
next:521'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4868: flatScratchInit: { reg: '$sgpr12_sgpr13' }
next:521'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4869: workGroupIDX: { reg: '$sgpr14' }
next:521'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4870: workGroupIDY: { reg: '$sgpr15' }
next:521'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4871: workGroupIDZ: { reg: '$sgpr16' }
...
```
</details>
https://github.com/llvm/llvm-project/pull/94647
More information about the cfe-commits
mailing list