[llvm] [CodeGen] Disable ran-out-of-registers-error* tests (PR #120142)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 12:38:51 PST 2024


https://github.com/thurstond created https://github.com/llvm/llvm-project/pull/120142

Two tests are failing on the buildbot in stage2/asan with a stack use-after-scope:
    https://lab.llvm.org/buildbot/#/builders/52/builds/4533 (first failure here; contains https://github.com/llvm/llvm-project/pull/119492 and https://github.com/llvm/llvm-project/pull/119640)
    ...
    https://lab.llvm.org/buildbot/#/builders/52/builds/4550

This patch disables the tests for now, to allow the bots to return to green (instead of reverting the patch series).

>From 92aa308f969c9387f3f14b051760763c66d8ae55 Mon Sep 17 00:00:00 2001
From: Thurston Dang <thurston at google.com>
Date: Mon, 16 Dec 2024 20:31:31 +0000
Subject: [PATCH] [CodeGen] Disable ran-out-of-registers-error* tests

These two the tests are failing on the buildbot in stage2/asan with a
stack use-after-scope:
    https://lab.llvm.org/buildbot/#/builders/52/builds/4533 (first failure here; contains https://github.com/llvm/llvm-project/pull/119492 and https://github.com/llvm/llvm-project/pull/119640)
    ...
    https://lab.llvm.org/buildbot/#/builders/52/builds/4550

This patch disables the tests for now, to allow the bots to return to
green.
---
 .../AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll      | 1 +
 llvm/test/CodeGen/AMDGPU/ran-out-of-registers-errors.ll         | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll b/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
index 388a8e804a8896..03860b7f366661 100644
--- a/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
+++ b/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
@@ -1,3 +1,4 @@
+; UNSUPPORTED: target={{.*}}
 ; RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -vgpr-regalloc=greedy -verify-machineinstrs=0 -filetype=null %s 2>&1 | FileCheck -implicit-check-not=error %s
 ; RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -vgpr-regalloc=basic -verify-machineinstrs=0 -filetype=null %s 2>&1 | FileCheck -implicit-check-not=error %s
 ; RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -vgpr-regalloc=fast -verify-machineinstrs=0 -filetype=null %s 2>&1 | FileCheck -implicit-check-not=error %s
diff --git a/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-errors.ll b/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-errors.ll
index bd1752d21507ca..da229d157fb763 100644
--- a/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-errors.ll
+++ b/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-errors.ll
@@ -1,3 +1,5 @@
+; UNSUPPORTED: target={{.*}}
+;
 ; RUN: not llc -mtriple=amdgcn-amd-amdhsa -stress-regalloc=1 -vgpr-regalloc=greedy -filetype=null %s 2>&1 | FileCheck -check-prefixes=CHECK,GREEDY -implicit-check-not=error %s
 ; RUN: not llc -mtriple=amdgcn-amd-amdhsa -stress-regalloc=1 -vgpr-regalloc=basic -filetype=null %s 2>&1 | FileCheck -implicit-check-not=error -check-prefixes=CHECK,BASIC %s
 ; RUN: not llc -mtriple=amdgcn-amd-amdhsa -stress-regalloc=1 -vgpr-regalloc=fast -filetype=null %s 2>&1 | FileCheck -implicit-check-not=error -check-prefixes=CHECK,FAST %s



More information about the llvm-commits mailing list