[llvm] AMDGPU/NewPM: Start filling out addIRPasses (PR #102884)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 23:09:10 PDT 2024


llvm-ci wrote:

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/5349

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/AMDGPU/idemponent-atomics.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -verify-machineinstrs < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck -check-prefixes=GFX940 /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck -check-prefixes=GFX940 /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -verify-machineinstrs
RUN: at line 3: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt -mtriple=amdgcn-amd-amdhsa -S -passes=atomic-expand < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck --check-prefix=OPT /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck --check-prefix=OPT /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt -mtriple=amdgcn-amd-amdhsa -S -passes=atomic-expand
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll:14:13: error: OPT-NEXT: expected string not found in input
; OPT-NEXT: [[VAL:%.*]] = load atomic i32, ptr addrspace(1) [[IN:%.*]] syncscope("agent-one-as") monotonic, align 4
            ^
<stdin>:7:7: note: scanning from here
entry:
      ^
<stdin>:8:2: note: possible intended match here
 %val = atomicrmw or ptr addrspace(1) %in, i32 0 syncscope("agent-one-as") monotonic, align 4
 ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll:32:13: error: OPT-NEXT: expected string not found in input
; OPT-NEXT: [[VAL:%.*]] = load atomic i32, ptr addrspace(1) [[IN:%.*]] syncscope("agent-one-as") acquire, align 4
            ^
<stdin>:13:7: note: scanning from here
entry:
      ^
<stdin>:14:2: note: possible intended match here
 %val = atomicrmw or ptr addrspace(1) %in, i32 0 syncscope("agent-one-as") acquire, align 4
 ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll:128:13: error: OPT-NEXT: expected string not found in input
; OPT-NEXT: [[VAL:%.*]] = load atomic i32, ptr addrspace(1) [[IN:%.*]] syncscope("workgroup") monotonic, align 4
            ^
<stdin>:43:7: note: scanning from here
entry:
      ^
<stdin>:44:2: note: possible intended match here
 %val = atomicrmw add ptr addrspace(1) %in, i32 0 syncscope("workgroup") monotonic, align 4
 ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll:145:13: error: OPT-NEXT: expected string not found in input
; OPT-NEXT: [[VAL:%.*]] = load atomic i32, ptr addrspace(1) [[IN:%.*]] syncscope("workgroup") monotonic, align 4, !amdgpu.no.fine.grained.memory [[META0]]
            ^
<stdin>:49:7: note: scanning from here
entry:
      ^
<stdin>:49:7: note: with "META0" equal to "!0"
entry:
      ^
<stdin>:50:2: note: possible intended match here
 %val = atomicrmw add ptr addrspace(1) %in, i32 0 syncscope("workgroup") monotonic, align 4, !amdgpu.no.fine.grained.memory !0
 ^
...

```

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


More information about the llvm-commits mailing list