Force CPU type to unbreak unit tests on Haswell machines.
authorJuergen Ributzka <juergen@apple.com>
Sat, 30 Nov 2013 03:07:16 +0000 (03:07 +0000)
committerJuergen Ributzka <juergen@apple.com>
Sat, 30 Nov 2013 03:07:16 +0000 (03:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195971 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-06-05-VZextByteShort.ll
test/CodeGen/X86/fma4-intrinsics-x86_64.ll
test/CodeGen/X86/fp-fast.ll
test/CodeGen/X86/vec_shift4.ll
test/CodeGen/X86/vshift-4.ll

index 5f5d5cccf714fdc925767882d2a36475d313aca4..50c62dfb73b8e3148ddd644e777189ca6fd2f266 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 > %t1
+; RUN: llc < %s -march=x86 -mcpu=core2 > %t1
 ; RUN: grep movzwl %t1 | count 2
 ; RUN: grep movzbl %t1 | count 1
 ; RUN: grep movd %t1 | count 4
index 7a1a9ae46147ace401e81d20b54648b0d6b5a5f6..494cb28677a41bf294bf66ab69e7bbefef666a75 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mattr=+avx,+fma4 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=corei7-avx -mattr=+fma4 | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -mattr=+avx,-fma | FileCheck %s
 
 ; VFMADD
index 07baca84804ed9a3050eb91dd62cd2dd5b34d625..7b08ad67220bf0d520018becc37250a581716ce9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -mattr=+avx,-fma4 -mtriple=x86_64-apple-darwin -enable-unsafe-fp-math < %s | FileCheck %s
+; RUN: llc -march=x86-64 -mcpu=corei7-avx -enable-unsafe-fp-math < %s | FileCheck %s
 
 ; CHECK-LABEL: test1
 define float @test1(float %a) {
index e2fe45cf97247d417d7f8e676c83a288aaa6f80d..b266a6987557b7f76a990ab99fc3ee895bc5cc92 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse4.1 | FileCheck %s
+; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
 
 define <2 x i64> @shl1(<4 x i32> %r, <4 x i32> %a) nounwind readnone ssp {
 entry:
index 4363cd9399cfbc8f84a444bd6658438857dce882..a060cf803727c89dd4c3e38bfa3594aa25681d7f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -march=x86 -mcpu=core2 | FileCheck %s
 
 ; test vector shifts converted to proper SSE2 vector shifts when the shift
 ; amounts are the same when using a shuffle splat.