[llvm] [test] Don't generate `regalloc-amdgpu.s` in #94426 (PR #94722)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 22:08:43 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-amdgpu

Author: None (paperchalice)

<details>
<summary>Changes</summary>

The test will generate an empty `regalloc-amdgpu.s` file in test, which causes an unresolved test.

---
Full diff: https://github.com/llvm/llvm-project/pull/94722.diff


1 Files Affected:

- (modified) llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir (+1-1) 


``````````diff
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'

``````````

</details>


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


More information about the llvm-commits mailing list