Add triples or specify REQUIRES: default_triple to some tests

These were all failing when building the X86 backend but specifying
LLVM_DEFAULT_TARGET_TRIPLE=''.

llvm-svn: 323608
This commit is contained in:
Justin Bogner 2018-01-27 23:31:09 +00:00
parent 582589c4e0
commit 34e32c59b8
7 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# RUN: llc -run-pass none -o - %s | FileCheck %s
# RUN: llc -mtriple=x86_64-- -run-pass none -o - %s | FileCheck %s
# Make sure empty files don't crash us
# CHECK: --- |
# ... moduleid, sourcefilename stuff here ..

View File

@ -1,4 +1,4 @@
# RUN: llc -run-pass none -o - %s | FileCheck %s
# RUN: llc -mtriple=x86_64-- -run-pass none -o - %s | FileCheck %s
# Make sure empty files don't crash us
--- |
...

View File

@ -1,4 +1,4 @@
# RUN: llc -run-pass none -o - %s | FileCheck %s
# RUN: llc -mtriple=x86_64-- -run-pass none -o - %s | FileCheck %s
# Make sure empty files don't crash us
---
...

View File

@ -1,6 +1,7 @@
; RUN: llvm-as < %s > %t1
; RUN: llvm-as < %p/Inputs/remangle_intrinsics.ll > %t2
; RUN: llvm-lto %t1 %t2 | FileCheck %s
; REQUIRES: default_triple
; We have "struct.rtx_def" type in both modules being LTOed. Both modules use
; an overloaded intrinsic which has this type in its signature/name. When

View File

@ -1,4 +1,5 @@
; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s
; REQUIRES: default_triple
module asm ".include \22module.x\22"
@ -10,4 +11,3 @@ entry:
; CHECK: MODULE = 1
; CHECK: FUNCTION = 1

View File

@ -1,5 +1,6 @@
// RUN: not llvm-mc %s 2> %t
// RUN: FileCheck < %t %s
// REQUIRES: default_triple
.macro M a a
.endm

View File

@ -1,4 +1,4 @@
RUN: llvm-mc %S/Inputs/crlf.s -as-lex | FileCheck %s
RUN: llvm-mc -triple x86_64-unknown-unknown %S/Inputs/crlf.s -as-lex | FileCheck %s
There should only be two end of statements.
CHECK: EndOfStatement
CHECK: EndOfStatement