diff options
author | Justin Bogner <mail@justinbogner.com> | 2018-01-27 23:31:09 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2018-01-27 23:31:09 +0000 |
commit | 6e36f8250c1768016befb1ea81464b121290a254 (patch) | |
tree | 5e71e2b896366da92bb65585377e86caf267ccb8 | |
parent | 442aefdd22169bd956bea11b9c09e1d67e3a30d5 (diff) | |
download | bcm5719-llvm-6e36f8250c1768016befb1ea81464b121290a254.tar.gz bcm5719-llvm-6e36f8250c1768016befb1ea81464b121290a254.zip |
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
-rw-r--r-- | llvm/test/CodeGen/MIR/X86/empty0.mir | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/MIR/X86/empty1.mir | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/MIR/X86/empty2.mir | 2 | ||||
-rw-r--r-- | llvm/test/LTO/X86/remangle_intrinsics.ll | 1 | ||||
-rw-r--r-- | llvm/test/MC/AsmParser/include.ll | 2 | ||||
-rw-r--r-- | llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s | 1 | ||||
-rw-r--r-- | llvm/test/MC/X86/crlf.test | 2 |
7 files changed, 7 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/MIR/X86/empty0.mir b/llvm/test/CodeGen/MIR/X86/empty0.mir index 4431af7c6a9..64a0f0bd3be 100644 --- a/llvm/test/CodeGen/MIR/X86/empty0.mir +++ b/llvm/test/CodeGen/MIR/X86/empty0.mir @@ -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 .. diff --git a/llvm/test/CodeGen/MIR/X86/empty1.mir b/llvm/test/CodeGen/MIR/X86/empty1.mir index d80b0cd3023..715c3287504 100644 --- a/llvm/test/CodeGen/MIR/X86/empty1.mir +++ b/llvm/test/CodeGen/MIR/X86/empty1.mir @@ -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 --- | ... diff --git a/llvm/test/CodeGen/MIR/X86/empty2.mir b/llvm/test/CodeGen/MIR/X86/empty2.mir index 7495807cd4d..1d8065fea6d 100644 --- a/llvm/test/CodeGen/MIR/X86/empty2.mir +++ b/llvm/test/CodeGen/MIR/X86/empty2.mir @@ -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 --- ... diff --git a/llvm/test/LTO/X86/remangle_intrinsics.ll b/llvm/test/LTO/X86/remangle_intrinsics.ll index 92ca08c5921..72ce8d3d812 100644 --- a/llvm/test/LTO/X86/remangle_intrinsics.ll +++ b/llvm/test/LTO/X86/remangle_intrinsics.ll @@ -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 diff --git a/llvm/test/MC/AsmParser/include.ll b/llvm/test/MC/AsmParser/include.ll index 390041ff330..a2fd9282397 100644 --- a/llvm/test/MC/AsmParser/include.ll +++ b/llvm/test/MC/AsmParser/include.ll @@ -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 - diff --git a/llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s b/llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s index 618cce02abd..f25acc36a03 100644 --- a/llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s +++ b/llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s @@ -1,5 +1,6 @@ // RUN: not llvm-mc %s 2> %t // RUN: FileCheck < %t %s +// REQUIRES: default_triple .macro M a a .endm diff --git a/llvm/test/MC/X86/crlf.test b/llvm/test/MC/X86/crlf.test index 32dec1b0b19..3ce7f0976bb 100644 --- a/llvm/test/MC/X86/crlf.test +++ b/llvm/test/MC/X86/crlf.test @@ -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 |