[llvm] [test] Dont' generate `regalloc-amdgpu.s` in #94426 (PR #94722)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 22:08:13 PDT 2024
https://github.com/paperchalice created https://github.com/llvm/llvm-project/pull/94722
The test will generate an empty `regalloc-amdgpu.s` file in test, which causes an unresolved test.
>From 4497640e5c3119448466a20366d317caa27db0c4 Mon Sep 17 00:00:00 2001
From: PaperChalice <liujunchang97 at outlook.com>
Date: Fri, 7 Jun 2024 13:06:59 +0800
Subject: [PATCH] [test] Dont' generate .s in #94426 The test will generate an
empty regalloc.s file in test, which causes an unresolved test.
---
llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir b/llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir
index 872c35237c20a..0603ffc4c5ea2 100644
--- a/llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir
+++ b/llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir
@@ -1,6 +1,6 @@
# REQUIRES: amdgpu-registered-target
# RUN: llc -mtriple=amdgcn --passes='regallocfast<filter=sgpr>' --print-pipeline-passes %s | FileCheck %s --check-prefix=PASS
-# RUN: not llc -mtriple=amdgcn --passes='regallocfast<filter=bad-filter>' --print-pipeline-passes %s 2>&1 | FileCheck %s --check-prefix=BAD-FILTER
+# RUN: not llc -mtriple=amdgcn --passes='regallocfast<filter=bad-filter>' --print-pipeline-passes --filetype=null %s 2>&1 | FileCheck %s --check-prefix=BAD-FILTER
# PASS: regallocfast<filter=sgpr>
# BAD-FILTER: invalid regallocfast register filter 'bad-filter'
More information about the llvm-commits
mailing list