From d8feb1f9a5efd6ddfbce411fa284a2ff3e8f9ee5 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 8 Oct 2013 06:06:57 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/bitcast2.ll | 4 ++-- test/CodeGen/X86/vec_set-8.ll | 4 ++-- test/CodeGen/X86/vec_set-9.ll | 2 +- test/CodeGen/X86/vec_set-C.ll | 6 +++--- test/CodeGen/X86/vec_shuffle-14.ll | 4 ++-- 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 48922b5f5a1..12aa863a37a 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 66056d0add9..41061ae7ac2 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 6979f6bb1c2..7b69f7eaa6f 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 133f23b42d9..9e14829b29f 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 95e9a18fb19..8f2519728b7 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 ebc8c5b34a9..f2f96ba94af 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