[x86] Add triples to these tests so that we see fewer calling convention
authorChandler Carruth <chandlerc@gmail.com>
Fri, 3 Oct 2014 02:00:09 +0000 (02:00 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 3 Oct 2014 02:00:09 +0000 (02:00 +0000)
differences and they're a bit easier to maintain. This should fix the
tests on cygwin bots, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218955 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/sse-align-12.ll
test/CodeGen/X86/sse1.ll

index 9e58cdde4b400c89846084308a04f6d4c3dad7e1..4933969c09a405756061bb50306926490e572464 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=nehalem | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=nehalem | FileCheck %s
 
 define <4 x float> @a(<4 x float>* %y) nounwind {
 ; CHECK-LABEL: a:
index e79be40277bb94c77b98bb5df62cae3bd8480c74..6e099ff6f9077d6ad4f5bab53d1ed3cd59ef3c2f 100644 (file)
@@ -1,6 +1,6 @@
 ; Tests for SSE1 and below, without SSE2+.
-; RUN: llc < %s -march=x86 -mcpu=pentium3 -O3 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mattr=-sse2,+sse -O3 | FileCheck %s
+; RUN: llc < %s -mtriple=i386-unknown-unknown -march=x86 -mcpu=pentium3 -O3 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mattr=-sse2,+sse -O3 | FileCheck %s
 
 ; PR7993
 ;define <4 x i32> @test3(<4 x i16> %a) nounwind {