llvm.org GIT mirror llvm / 44cb0f3
Update test suite to make "ninja check" succeed without native backend builtin Requires "native" feature in most places that were failing. From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243960 91177308-0d34-0410-b5e6-96231b3b80d8 Mehdi Amini 5 years ago
17 changed file(s) with 21 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
0 if 'native' not in config.available_features:
1 config.unsupported = True
2
0 if 'native' not in config.available_features:
1 config.unsupported = True
2
33 ; RUN: llc -O3 -debug %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LLC-Ox
44 ; RUN: llc -misched-postra -debug %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LLC-MORE
55
6 ; REQUIRES: asserts
6 ; REQUIRES: asserts, native
77
88 ; This test verifies that we don't run Machine Function optimizations
99 ; on optnone functions.
0 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
1 ; REQUIRE: native
12
23 ; Check for the presence of attribute optnone in the disassembly.
34
0 ; REQUIRES: native
1 ; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak-odr.ll -S -o %t1
12 ; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
23 ; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak-odr.ll %s -S -o %t2
0 ; REQUIRES: native
1 ; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak.ll -S -o %t1
12 ; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
23 ; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak.ll %s -S -o %t2
None ; REQUIRES: object-emission
0 ; REQUIRES: object-emission, native
11 ;
22 ; RUN: llvm-link %s %p/type-unique-odr-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
33 ;
None ; REQUIRES: object-emission
0 ; REQUIRES: object-emission, native
11
22 ; RUN: llvm-link %s %p/type-unique-simple-b.ll -S -o %t
33 ; RUN: cat %t | FileCheck %s -check-prefix=LINK
None ; REQUIRES: object-emission
0 ; REQUIRES: object-emission, native
11 ;
22 ; RUN: llvm-link %s %p/type-unique-simple2-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
33 ;
None ; REQUIRES: object-emission
0 ; REQUIRES: object-emission; native
11
22 ; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t
33 ; RUN: cat %t | FileCheck %S/Inputs/type-unique-simple2-a.ll -check-prefix=LINK
None ; REQUIRES: object-emission
0 ; REQUIRES: object-emission, native
11 ;
22 ; RUN: llvm-link %s %p/type-unique-type-array-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
33 ;
0 ; REQUIRES: native
1 ; RUN: llc -O2 -print-after-all < %s 2>/dev/null
12
23 define void @tester(){
0 ; RUN: opt < %s -O3 | llc -no-integrated-as | FileCheck %s
1
1 ; REQUIRES: X86
22 ;; We don't want branch folding to fold asm directives.
33
44 ; CHECK: bork_directive
0 # RUN: not llvm-mc --fatal-warnings %s 2>&1 | FileCheck %s
11 # XFAIL: hexagon
2 # REQUIRES: native
23
34 # CHECK: error: .warning directive invoked in source file
45 .warning
0 RUN: llvm-mc -disassemble %s
1
1 # REQUIRES: native
0 # RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
11 # XFAIL: hexagon
2 # REQUIRES: native
23
34 # CHECK-NOT: warning:
45 .warning
22 ; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O0 %s
33 ; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O2 -o %t.dylib %t.o
44 ; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O2 %s
5 ; REQUIRES: X86
56
67 target triple = "x86_64-apple-macosx10.8.0"
78