Specify CPU model to avoid breaking ATOM builds

llvm-svn: 165638
This commit is contained in:
Michael Liao 2012-10-10 18:04:52 +00:00
parent 707953d025
commit e26b0313de
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
; RUN: llc < %s -march=x86 -mattr=+sse2,-avx | FileCheck %s
; RUN: llc < %s -march=x86 -mattr=+avx | FileCheck %s --check-prefix=AVX
; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
; RUN: llc < %s -march=x86 -mcpu=core-avx-i | FileCheck %s --check-prefix=AVX
define <1 x float> @test1(<1 x double>* %p) nounwind {
; CHECK: test1

View File

@ -1,5 +1,5 @@
; RUN: llc < %s -march=x86 -mattr=+sse2,-avx | FileCheck %s
; RUN: llc < %s -march=x86 -mattr=+avx | FileCheck %s --check-prefix=AVX
; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
; RUN: llc < %s -march=x86 -mcpu=core-avx-i | FileCheck %s --check-prefix=AVX
define <1 x float> @test1(<1 x double> %x) nounwind {
; CHECK: test1