Skip to content

Commit 6e36f82

Browse files
committed
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
1 parent 442aefd commit 6e36f82

File tree

7 files changed

+7
-5
lines changed

7 files changed

+7
-5
lines changed

llvm/test/CodeGen/MIR/X86/empty0.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass none -o - %s | FileCheck %s
1+
# RUN: llc -mtriple=x86_64-- -run-pass none -o - %s | FileCheck %s
22
# Make sure empty files don't crash us
33
# CHECK: --- |
44
# ... moduleid, sourcefilename stuff here ..

llvm/test/CodeGen/MIR/X86/empty1.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass none -o - %s | FileCheck %s
1+
# RUN: llc -mtriple=x86_64-- -run-pass none -o - %s | FileCheck %s
22
# Make sure empty files don't crash us
33
--- |
44
...

llvm/test/CodeGen/MIR/X86/empty2.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -run-pass none -o - %s | FileCheck %s
1+
# RUN: llc -mtriple=x86_64-- -run-pass none -o - %s | FileCheck %s
22
# Make sure empty files don't crash us
33
---
44
...

llvm/test/LTO/X86/remangle_intrinsics.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
; RUN: llvm-as < %s > %t1
22
; RUN: llvm-as < %p/Inputs/remangle_intrinsics.ll > %t2
33
; RUN: llvm-lto %t1 %t2 | FileCheck %s
4+
; REQUIRES: default_triple
45

56
; We have "struct.rtx_def" type in both modules being LTOed. Both modules use
67
; an overloaded intrinsic which has this type in its signature/name. When

llvm/test/MC/AsmParser/include.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s
2+
; REQUIRES: default_triple
23

34
module asm ".include \22module.x\22"
45

@@ -10,4 +11,3 @@ entry:
1011

1112
; CHECK: MODULE = 1
1213
; CHECK: FUNCTION = 1
13-

llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: not llvm-mc %s 2> %t
22
// RUN: FileCheck < %t %s
3+
// REQUIRES: default_triple
34

45
.macro M a a
56
.endm

llvm/test/MC/X86/crlf.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RUN: llvm-mc %S/Inputs/crlf.s -as-lex | FileCheck %s
1+
RUN: llvm-mc -triple x86_64-unknown-unknown %S/Inputs/crlf.s -as-lex | FileCheck %s
22
There should only be two end of statements.
33
CHECK: EndOfStatement
44
CHECK: EndOfStatement

0 commit comments

Comments
 (0)