Skip to content

Commit 4f0a120

Browse files
committed
[lit][REQUIRES] Fix some tests with incorrect REQUIRES clauses
These weren't running anywhere because of bad specifications. One test has bit-rotted and had to be XFAILed, the rest are okay. Differential Revision: https://reviews.llvm.org/D136612
1 parent 75a8cdb commit 4f0a120

File tree

10 files changed

+11
-10
lines changed

10 files changed

+11
-10
lines changed

llvm/test/Analysis/BasicAA/cs-cs-arm.ll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: opt < %s -aa-pipeline=basic-aa -passes=aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
2-
; REQUIRES: arm
2+
; REQUIRES: arm-registered-target
3+
; This hasn't been run in a long time and it no longer matches reality.
4+
; Filed issue #58738.
5+
; XFAIL: *
36

47
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:32:64-v128:32:128-a0:0:32-n32"
58
target triple = "arm-apple-ios"

llvm/test/Analysis/BasicAA/intrinsics-arm.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -aa-pipeline=basic-aa -passes=gvn -S < %s | FileCheck %s
2-
; REQUIRES: arm
2+
; REQUIRES: arm-registered-target
33

44
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:32:64-v128:32:128-a0:0:32-n32"
55

llvm/test/CodeGen/Generic/DbgValueAggregate.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: llc -O0 -global-isel < %s | FileCheck %s
2-
; REQUIRES: aarch64
2+
; REQUIRES: aarch64-registered-target
33
target triple = "aarch64-unknown-linux-gnu"
44

55
define void @MAIN_() #0 {

llvm/test/CodeGen/Hexagon/abi-padding-2.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
; RUN: llc -march=hexagon -mcpu=hexagonv65 < %s | FileCheck %s
2-
; REQUIRES: hexagon
32

43
; C file was:
54
; struct S { char b; long long a; };

llvm/test/CodeGen/Hexagon/abi-padding.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
; RUN: llc -march=hexagon -mcpu=hexagonv65 < %s | FileCheck %s
2-
; REQUIRES: hexagon
32

43
; C file was:
54
; struct S { int a[3];};

llvm/test/CodeGen/PowerPC/read-set-flm.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: llc < %s -mtriple powerpc64le-unknown-linux | FileCheck %s
33
; RUN: llc < %s -mtriple powerpc64le-unknown-linux -debug-only=machine-scheduler \
44
; RUN: 2>&1 | FileCheck %s --check-prefix=LOG
5-
; REQUIRES: DEBUG
5+
; REQUIRES: asserts
66

77
define double @in_nostrict(double %a, double %b, double %c, double %d) {
88
; CHECK-LABEL: in_nostrict:

llvm/test/MC/AsmParser/layout-interdependency.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RUN: not llvm-mc --filetype=obj %s -o /dev/null 2>&1 | FileCheck %s
2-
# REQUIRES: defaut_triple
2+
# REQUIRES: default_triple
33

44
fct_end:
55

llvm/test/tools/llvm-objcopy/ELF/update-section.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: x86
1+
# REQUIRES: x86-registered-target
22

33
# RUN: yaml2obj %s -o %t
44

llvm/test/tools/llvm-readobj/COFF/call-graph-profile-err.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: x86
1+
# REQUIRES: x86-registered-target
22
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o %t
33
# RUN: not llvm-readobj %t --cg-profile 2>&1 | FileCheck --check-prefix=ERR %s
44

llvm/test/tools/llvm-readobj/COFF/call-graph-profile.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: x86
1+
# REQUIRES: x86-registered-target
22
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o %t
33
# RUN: llvm-readobj %t --cg-profile | FileCheck %s
44

0 commit comments

Comments
 (0)