test/CodeGen/X86: Add explicit -mtriple=(i686|x86_64)-linux for Win32 host.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 3 Sep 2010 03:24:08 +0000 (03:24 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 3 Sep 2010 03:24:08 +0000 (03:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112947 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-03-13-PHIElimBug.ll
test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll
test/CodeGen/X86/dyn-stackalloc.ll

index 8d426271a1946821c2f3b0617a3c4f5dc7aff731..28539307aa409d567ffb63456602d00cc595188d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-linux | FileCheck %s
 ; Check the register copy comes after the call to f and before the call to g
 ; PR3784
 
index da493d4910e163af39915ce3620a259dc5b05879..b13d33eb3fd918ca8276514f5ee155596d8cdb24 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -asm-verbose | FileCheck %s
+; RUN: llc < %s -mtriple=i686-linux -asm-verbose | FileCheck %s
 ; Check that register copies in the landing pad come after the EH_LABEL
 
 declare i32 @f()
index 1df092018dd835aaf8b703814199fd2fb9954628..e577611ebcf1bbf7f104a51cc53a956b00ab2876 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 | not egrep {\\\$4294967289|-7}
-; RUN: llc < %s -march=x86 | egrep {\\\$4294967280|-16}
-; RUN: llc < %s -march=x86-64 | grep {\\-16}
+; RUN: llc < %s -mtriple=i686-linux | not egrep {\\\$4294967289|-7}
+; RUN: llc < %s -mtriple=i686-linux | egrep {\\\$4294967280|-16}
+; RUN: llc < %s -mtriple=x86_64-linux | grep {\\-16}
 
 define void @t() nounwind {
 A: