[llvm] [RegAlloc] Fix the terminal rule check for interfere with DstReg (PR #168661)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 22 20:28:30 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-riscv-rva20-2stage` running on `rise-clang-riscv-rva20-2stage` while building `llvm` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/rise-riscv-build.sh --jobs=32' (failure)
...
PASS: LLVM :: CodeGen/AMDGPU/llvm.log2.ll (33411 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/local-stack-alloc-add-references.gfx8.mir (33412 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-contents-legalization.ll (33413 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/loop_header_nopred.mir (33414 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-p7-in-memory.ll (33415 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-memops.ll (33416 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll (33417 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-control-flow-live-variables-update.mir (33418 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-ctor-dtor-declaration.ll (33419 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-control-flow-live-variables-update.xfail.mir (33420 of 89158)
FAIL: LLVM :: CodeGen/AMDGPU/local-atomicrmw-fmin.ll (33421 of 89158)
******************** TEST 'LLVM :: CodeGen/AMDGPU/local-atomicrmw-fmin.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=+real-true16 < /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-TRUE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=+real-true16
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-TRUE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# RUN: at line 3
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=-real-true16 < /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-FAKE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=-real-true16
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-FAKE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# RUN: at line 4
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx942 < /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefix=GFX942 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx942
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefix=GFX942 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# .---command stderr------------
# | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll:6729:16: error: GFX942-NEXT: expected string not found in input
# | ; GFX942-NEXT: ds_read_b32 v3, v0
# |                ^
# | <stdin>:1152:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1153:2: note: possible intended match here
# |  ds_read_b32 v4, v0
# |  ^
# | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll:7207:16: error: GFX942-NEXT: expected string not found in input
# | ; GFX942-NEXT: ds_read_b32 v3, v0 offset:65532
# |                ^
# | <stdin>:1217:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1218:2: note: possible intended match here
# |  ds_read_b32 v4, v0 offset:65532
# |  ^
# | 
# | Input file: <stdin>
Step 11 (llvm-project check-all) failure: llvm-project check-all (failure)
...
PASS: LLVM :: CodeGen/AMDGPU/llvm.log2.ll (33411 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/local-stack-alloc-add-references.gfx8.mir (33412 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-contents-legalization.ll (33413 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/loop_header_nopred.mir (33414 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-p7-in-memory.ll (33415 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-memops.ll (33416 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll (33417 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-control-flow-live-variables-update.mir (33418 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-ctor-dtor-declaration.ll (33419 of 89158)
PASS: LLVM :: CodeGen/AMDGPU/lower-control-flow-live-variables-update.xfail.mir (33420 of 89158)
FAIL: LLVM :: CodeGen/AMDGPU/local-atomicrmw-fmin.ll (33421 of 89158)
******************** TEST 'LLVM :: CodeGen/AMDGPU/local-atomicrmw-fmin.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=+real-true16 < /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-TRUE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=+real-true16
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-TRUE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# RUN: at line 3
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=-real-true16 < /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-FAKE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1200 -mattr=-real-true16
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefixes=GFX12,GFX12-FAKE16 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# RUN: at line 4
/home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx942 < /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefix=GFX942 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx942
# executed command: /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/stage2/bin/FileCheck -check-prefix=GFX942 /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
# .---command stderr------------
# | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll:6729:16: error: GFX942-NEXT: expected string not found in input
# | ; GFX942-NEXT: ds_read_b32 v3, v0
# |                ^
# | <stdin>:1152:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1153:2: note: possible intended match here
# |  ds_read_b32 v4, v0
# |  ^
# | /home/buildbot-worker/bbroot/clang-riscv-rva20-2stage/llvm/llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll:7207:16: error: GFX942-NEXT: expected string not found in input
# | ; GFX942-NEXT: ds_read_b32 v3, v0 offset:65532
# |                ^
# | <stdin>:1217:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1218:2: note: possible intended match here
# |  ds_read_b32 v4, v0 offset:65532
# |  ^
# | 
# | Input file: <stdin>

```

</details>

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


More information about the llvm-commits mailing list