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

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


Author: paperchalice
Date: 2024-06-07T13:08:29+08:00
New Revision: a6350d63af63fb11d87d508965559bbb2833927d

URL: https://github.com/llvm/llvm-project/commit/a6350d63af63fb11d87d508965559bbb2833927d
DIFF: https://github.com/llvm/llvm-project/commit/a6350d63af63fb11d87d508965559bbb2833927d.diff

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

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

Added: 
    

Modified: 
    llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir

Removed: 
    


################################################################################
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