Skip to content

Commit 8935165

Browse files
authored
[NFCI][test] Use lit.local.cfg in test/MachineVerifier/RISCV to gate tests (#118217)
87cc4b4 added `REQUIRES: riscv64-registered-target` to the only test in this directory. It seems better (and also reflects what we do elsewhere, including in the AMDGPU/ subdir in MachineVerifier) to gate for all files in the directory via lit.local.cfg.
1 parent f8b4182 commit 8935165

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
if not "RISCV" in config.root.targets:
2+
config.unsupported = True

llvm/test/MachineVerifier/RISCV/subreg-liveness.mir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
22
# RUN: llc -mtriple=riscv64 -mattr=+v -run-pass=none %s -o - | FileCheck %s
3-
# REQUIRES: riscv64-registered-target
43

54
# During the MachineVerifier, it assumes that used registers have been defined
65
# In this test case, while $v12_v13_v14_v15_v16 covers $v14_v15,

0 commit comments

Comments
 (0)