Explicitly disable AVX on a bunch of tests so they won't fail on AVX machines post...
authorCraig Topper <craig.topper@gmail.com>
Tue, 8 Oct 2013 06:06:57 +0000 (06:06 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 8 Oct 2013 06:06:57 +0000 (06:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192173 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/bitcast2.ll
test/CodeGen/X86/vec_set-8.ll
test/CodeGen/X86/vec_set-9.ll
test/CodeGen/X86/vec_set-C.ll
test/CodeGen/X86/vec_shuffle-14.ll
test/CodeGen/X86/vec_shuffle-17.ll

index 48922b5f5a132fd41e3723298a813abcc092b489..12aa863a37a15bbfcb57d54be13c6930ed0dd899 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 | grep movd | count 2
-; RUN: llc < %s -march=x86-64 | not grep rsp
+; RUN: llc < %s -march=x86-64 -mattr=-avx | grep movd | count 2
+; RUN: llc < %s -march=x86-64 -mattr=-avx | not grep rsp
 
 define i64 @test1(double %A) {
    %B = bitcast double %A to i64
index 66056d0add9ccc349e07d00b695a510197888b54..41061ae7ac23d03c5ddadb8ab335e63f29298704 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
-; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win32 -mattr=-avx | FileCheck %s
 ; CHECK-NOT: movsd
 ; CHECK: movd {{%rdi|%rcx}}, %xmm0
 ; CHECK-NOT: movsd
index 6979f6bb1c26cefda7166cbc4e5d56ae7ca94bc6..7b69f7eaa6fbdb45494e87689cdada972b1a331e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -march=x86-64 -mattr=-avx | FileCheck %s
 
 ; CHECK: test3
 ; CHECK: movd
index 133f23b42d90e11263490c526b355d84a491d637..9e14829b29ff321d06ada5f110804d923a2c776b 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2 | grep movq
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2 | grep mov | count 1
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux -mattr=+sse2 | grep movd
+; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2,-avx | grep movq
+; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2,-avx | grep mov | count 1
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux -mattr=+sse2-avx | grep movd
 
 define <2 x i64> @t1(i64 %x) nounwind  {
        %tmp8 = insertelement <2 x i64> zeroinitializer, i64 %x, i32 0
index 95e9a18fb196d8639ef130779f92011f274a5f39..8f2519728b77b0c4cec30639146146c51c94f449 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X86-32
-; RUN: llc < %s -march=x86-64 -mattr=+sse2 | FileCheck %s -check-prefix=X86-64
+; RUN: llc < %s -march=x86 -mattr=+sse2,-avx | FileCheck %s -check-prefix=X86-32
+; RUN: llc < %s -march=x86-64 -mattr=+sse2,-avx | FileCheck %s -check-prefix=X86-64
 
 define <4 x i32> @t1(i32 %a) nounwind  {
 entry:
index ebc8c5b34a90ac21e4b2116d0c1d2643f271363b..f2f96ba94af1c65be28d11a8130bd45f2f6c9a50 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
-; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win32 -mattr=-avx | FileCheck %s
 ; CHECK-NOT: xor
 ; CHECK: movd {{%rdi|%rcx}}, %xmm0
 ; CHECK-NOT: xor