[llvm] r323608 - Add triples or specify REQUIRES: default_triple to some tests
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 27 15:31:09 PST 2018
Author: bogner
Date: Sat Jan 27 15:31:09 2018
New Revision: 323608
URL: http://llvm.org/viewvc/llvm-project?rev=323608&view=rev
Log:
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=''.
Modified:
llvm/trunk/test/CodeGen/MIR/X86/empty0.mir
llvm/trunk/test/CodeGen/MIR/X86/empty1.mir
llvm/trunk/test/CodeGen/MIR/X86/empty2.mir
llvm/trunk/test/LTO/X86/remangle_intrinsics.ll
llvm/trunk/test/MC/AsmParser/include.ll
llvm/trunk/test/MC/AsmParser/macro-duplicate-params-names-err.s
llvm/trunk/test/MC/X86/crlf.test
Modified: llvm/trunk/test/CodeGen/MIR/X86/empty0.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/MIR/X86/empty0.mir?rev=323608&r1=323607&r2=323608&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/MIR/X86/empty0.mir (original)
+++ llvm/trunk/test/CodeGen/MIR/X86/empty0.mir Sat Jan 27 15:31:09 2018
@@ -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 ..
Modified: llvm/trunk/test/CodeGen/MIR/X86/empty1.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/MIR/X86/empty1.mir?rev=323608&r1=323607&r2=323608&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/MIR/X86/empty1.mir (original)
+++ llvm/trunk/test/CodeGen/MIR/X86/empty1.mir Sat Jan 27 15:31:09 2018
@@ -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
--- |
...
Modified: llvm/trunk/test/CodeGen/MIR/X86/empty2.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/MIR/X86/empty2.mir?rev=323608&r1=323607&r2=323608&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/MIR/X86/empty2.mir (original)
+++ llvm/trunk/test/CodeGen/MIR/X86/empty2.mir Sat Jan 27 15:31:09 2018
@@ -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
---
...
Modified: llvm/trunk/test/LTO/X86/remangle_intrinsics.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LTO/X86/remangle_intrinsics.ll?rev=323608&r1=323607&r2=323608&view=diff
==============================================================================
--- llvm/trunk/test/LTO/X86/remangle_intrinsics.ll (original)
+++ llvm/trunk/test/LTO/X86/remangle_intrinsics.ll Sat Jan 27 15:31:09 2018
@@ -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
Modified: llvm/trunk/test/MC/AsmParser/include.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/include.ll?rev=323608&r1=323607&r2=323608&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/include.ll (original)
+++ llvm/trunk/test/MC/AsmParser/include.ll Sat Jan 27 15:31:09 2018
@@ -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
-
Modified: llvm/trunk/test/MC/AsmParser/macro-duplicate-params-names-err.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/macro-duplicate-params-names-err.s?rev=323608&r1=323607&r2=323608&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/macro-duplicate-params-names-err.s (original)
+++ llvm/trunk/test/MC/AsmParser/macro-duplicate-params-names-err.s Sat Jan 27 15:31:09 2018
@@ -1,5 +1,6 @@
// RUN: not llvm-mc %s 2> %t
// RUN: FileCheck < %t %s
+// REQUIRES: default_triple
.macro M a a
.endm
Modified: llvm/trunk/test/MC/X86/crlf.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/crlf.test?rev=323608&r1=323607&r2=323608&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/crlf.test (original)
+++ llvm/trunk/test/MC/X86/crlf.test Sat Jan 27 15:31:09 2018
@@ -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
More information about the llvm-commits
mailing list