diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-10-08 06:06:57 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-10-08 06:06:57 +0000 |
commit | d8feb1f9a5efd6ddfbce411fa284a2ff3e8f9ee5 (patch) | |
tree | f0b8c51cc9ff1fb199c72af70d8dc5f446d6b13c | |
parent | b9bc43852ceb74c845d28b96594e1ef4ae41329f (diff) | |
download | llvm-d8feb1f9a5efd6ddfbce411fa284a2ff3e8f9ee5.tar.gz llvm-d8feb1f9a5efd6ddfbce411fa284a2ff3e8f9ee5.tar.bz2 llvm-d8feb1f9a5efd6ddfbce411fa284a2ff3e8f9ee5.tar.xz |
Explicitly disable AVX on a bunch of tests so they won't fail on AVX machines post r192171.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192173 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/bitcast2.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/vec_set-8.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/vec_set-9.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/vec_set-C.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/X86/vec_shuffle-14.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/X86/vec_shuffle-17.ll | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/test/CodeGen/X86/bitcast2.ll b/test/CodeGen/X86/bitcast2.ll index 48922b5f5a..12aa863a37 100644 --- a/test/CodeGen/X86/bitcast2.ll +++ b/test/CodeGen/X86/bitcast2.ll @@ -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 diff --git a/test/CodeGen/X86/vec_set-8.ll b/test/CodeGen/X86/vec_set-8.ll index 66056d0add..41061ae7ac 100644 --- a/test/CodeGen/X86/vec_set-8.ll +++ b/test/CodeGen/X86/vec_set-8.ll @@ -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 diff --git a/test/CodeGen/X86/vec_set-9.ll b/test/CodeGen/X86/vec_set-9.ll index 6979f6bb1c..7b69f7eaa6 100644 --- a/test/CodeGen/X86/vec_set-9.ll +++ b/test/CodeGen/X86/vec_set-9.ll @@ -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 diff --git a/test/CodeGen/X86/vec_set-C.ll b/test/CodeGen/X86/vec_set-C.ll index 133f23b42d..9e14829b29 100644 --- a/test/CodeGen/X86/vec_set-C.ll +++ b/test/CodeGen/X86/vec_set-C.ll @@ -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 diff --git a/test/CodeGen/X86/vec_shuffle-14.ll b/test/CodeGen/X86/vec_shuffle-14.ll index 95e9a18fb1..8f2519728b 100644 --- a/test/CodeGen/X86/vec_shuffle-14.ll +++ b/test/CodeGen/X86/vec_shuffle-14.ll @@ -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: diff --git a/test/CodeGen/X86/vec_shuffle-17.ll b/test/CodeGen/X86/vec_shuffle-17.ll index ebc8c5b34a..f2f96ba94a 100644 --- a/test/CodeGen/X86/vec_shuffle-17.ll +++ b/test/CodeGen/X86/vec_shuffle-17.ll @@ -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 |