mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 08:31:13 +00:00
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> llvm-svn: 243960
This commit is contained in:
parent
63c3989f6a
commit
c8d5783114
3
llvm/test/CodeGen/Generic/lit.local.cfg
Normal file
3
llvm/test/CodeGen/Generic/lit.local.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
if 'native' not in config.available_features:
|
||||
config.unsupported = True
|
||||
|
3
llvm/test/DebugInfo/lit.local.cfg
Normal file
3
llvm/test/DebugInfo/lit.local.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
if 'native' not in config.available_features:
|
||||
config.unsupported = True
|
||||
|
@ -4,7 +4,7 @@
|
||||
; RUN: llc -O3 -debug %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LLC-Ox
|
||||
; RUN: llc -misched-postra -debug %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LLC-MORE
|
||||
|
||||
; REQUIRES: asserts
|
||||
; REQUIRES: asserts, native
|
||||
|
||||
; This test verifies that we don't run Machine Function optimizations
|
||||
; on optnone functions.
|
||||
|
@ -1,4 +1,5 @@
|
||||
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
||||
; REQUIRE: native
|
||||
|
||||
; Check for the presence of attribute optnone in the disassembly.
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
; REQUIRES: native
|
||||
; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak-odr.ll -S -o %t1
|
||||
; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
|
||||
; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak-odr.ll %s -S -o %t2
|
||||
|
@ -1,3 +1,4 @@
|
||||
; REQUIRES: native
|
||||
; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak.ll -S -o %t1
|
||||
; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
|
||||
; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak.ll %s -S -o %t2
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: object-emission
|
||||
; REQUIRES: object-emission, native
|
||||
;
|
||||
; RUN: llvm-link %s %p/type-unique-odr-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: object-emission
|
||||
; REQUIRES: object-emission, native
|
||||
|
||||
; RUN: llvm-link %s %p/type-unique-simple-b.ll -S -o %t
|
||||
; RUN: cat %t | FileCheck %s -check-prefix=LINK
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: object-emission
|
||||
; REQUIRES: object-emission, native
|
||||
;
|
||||
; RUN: llvm-link %s %p/type-unique-simple2-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: object-emission
|
||||
; REQUIRES: object-emission; native
|
||||
|
||||
; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t
|
||||
; RUN: cat %t | FileCheck %S/Inputs/type-unique-simple2-a.ll -check-prefix=LINK
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: object-emission
|
||||
; REQUIRES: object-emission, native
|
||||
;
|
||||
; 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
|
||||
;
|
||||
|
@ -1,3 +1,4 @@
|
||||
; REQUIRES: native
|
||||
; RUN: llc -O2 -print-after-all < %s 2>/dev/null
|
||||
|
||||
define void @tester(){
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: opt < %s -O3 | llc -no-integrated-as | FileCheck %s
|
||||
|
||||
; REQUIRES: X86
|
||||
;; We don't want branch folding to fold asm directives.
|
||||
|
||||
; CHECK: bork_directive
|
||||
|
@ -1,5 +1,6 @@
|
||||
# RUN: not llvm-mc --fatal-warnings %s 2>&1 | FileCheck %s
|
||||
# XFAIL: hexagon
|
||||
# REQUIRES: native
|
||||
|
||||
# CHECK: error: .warning directive invoked in source file
|
||||
.warning
|
||||
|
@ -1,2 +1,2 @@
|
||||
RUN: llvm-mc -disassemble %s
|
||||
|
||||
# REQUIRES: native
|
||||
|
@ -1,5 +1,6 @@
|
||||
# RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
|
||||
# XFAIL: hexagon
|
||||
# REQUIRES: native
|
||||
|
||||
# CHECK-NOT: warning:
|
||||
.warning
|
||||
|
@ -3,6 +3,7 @@
|
||||
; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O0 %s
|
||||
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O2 -o %t.dylib %t.o
|
||||
; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O2 %s
|
||||
; REQUIRES: X86
|
||||
|
||||
target triple = "x86_64-apple-macosx10.8.0"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user