Skip to content

Commit 1e029cf

Browse files
committed
Add missing REQUIRES lines to unbreak buildbots
Since e39f6c1 these tests require a valid target in order to compute the data layout.
1 parent 7e42545 commit 1e029cf

File tree

8 files changed

+10
-1
lines changed

8 files changed

+10
-1
lines changed

llvm/test/Transforms/InstCombine/ffs-i16.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
;
66
; RUN: opt < %s -mtriple=avr-linux -passes=instcombine -S | FileCheck %s --check-prefix=AVR
77
; RUN: opt < %s -mtriple=msp430-linux -passes=instcombine -S | FileCheck %s --check-prefix=MSP430
8+
; REQUIRES: avr-registered-target,msp430-registered-target
9+
810

911
declare i16 @ffs(i16)
1012

llvm/test/Transforms/InstCombine/fls-i16.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
;
77
; RUN: opt < %s -mtriple=avr-freebsd -passes=instcombine -S | FileCheck %s --check-prefix=AVR
88
; RUN: opt < %s -mtriple=msp430-freebsd -passes=instcombine -S | FileCheck %s --check-prefix=MSP430
9+
; REQUIRES: avr-registered-target,msp430-registered-target
910

1011
declare i16 @fls(i16)
1112

llvm/test/Transforms/InstCombine/isascii-i16.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
;
55
; RUN: opt < %s -mtriple=avr-freebsd -passes=instcombine -S | FileCheck %s --check-prefix=AVR
66
; RUN: opt < %s -mtriple=msp430-linux -passes=instcombine -S | FileCheck %s --check-prefix=MSP430
7+
; REQUIRES: avr-registered-target,msp430-registered-target
78

89
declare i16 @isascii(i16)
910

llvm/test/Transforms/InstCombine/isdigit-i16.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
;
55
; RUN: opt < %s -mtriple=avr-linux -passes=instcombine -S | FileCheck %s --check-prefix=AVR
66
; RUN: opt < %s -mtriple=msp430-freebsd -passes=instcombine -S | FileCheck %s --check-prefix=MSP430
7+
; REQUIRES: avr-registered-target,msp430-registered-target
78

89
declare i16 @isdigit(i16)
910

llvm/test/Transforms/InstCombine/printf-i16.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
;
33
; RUN: opt < %s -mtriple=avr-freebsd -passes=instcombine -S | FileCheck %s --check-prefix=AVR
44
; RUN: opt < %s -mtriple=msp430-linux -passes=instcombine -S | FileCheck %s --check-prefix=MSP430
5+
; REQUIRES: avr-registered-target,msp430-registered-target
56
;
67
; Verify that the puts to putchar transformation works correctly even for
78
; targets with 16-bit int.

llvm/test/Transforms/InstCombine/puts-i16.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
;
33
; RUN: opt < %s -mtriple=avr-linux -passes=instcombine -S | FileCheck %s --check-prefix=AVR
44
; RUN: opt < %s -mtriple=msp430-freebsd -passes=instcombine -S | FileCheck %s --check-prefix=MSP430
5+
; REQUIRES: avr-registered-target,msp430-registered-target
56
;
67
; Test that the puts to putchar transformation works correctly even for
78
; targets with 16-bit int.

llvm/test/Transforms/InstCombine/sincospi.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-apple-macosx10.8 | FileCheck %s --check-prefixes=CHECK-NO-SINCOS,CHECK-NO-SINCOS-DOUBLE-ALIGN8
66
; RUN: opt -passes=instcombine -S < %s -mtriple=arm-apple-ios6.0 | FileCheck %s --check-prefixes=CHECK-NO-SINCOS,CHECK-NO-SINCOS-DOUBLE-ALIGN4
77
; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-none-linux-gnu | FileCheck %s --check-prefixes=CHECK-NO-SINCOS,CHECK-NO-SINCOS-DOUBLE-ALIGN8
8-
8+
; REQUIRES: arm-registered-target, x86-registered-target
99

1010
attributes #0 = { readnone nounwind }
1111

llvm/test/Transforms/OpenMP/barrier_removal.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-globals
22
; RUN: opt < %s -S -passes=openmp-opt | FileCheck %s --check-prefixes=CHECK,MODULE
33
; RUN: opt < %s -S -passes=openmp-opt-cgscc | FileCheck %s --check-prefixes=CHECK,CGSCC
4+
; REQUIRES: amdgpu-registered-target
5+
46
target triple = "amdgcn-amd-amdhsa"
57

68
declare void @useI32(i32)

0 commit comments

Comments
 (0)