Specify CPU model to avoid breaking ATOM builds
authorMichael Liao <michael.liao@intel.com>
Wed, 10 Oct 2012 18:04:52 +0000 (18:04 +0000)
committerMichael Liao <michael.liao@intel.com>
Wed, 10 Oct 2012 18:04:52 +0000 (18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165638 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fp-load-trunc.ll
test/CodeGen/X86/fp-trunc.ll

index 8430a31b3a891cfc3cf3d5bf06441456dbcd3bd9..2ae65c97d97ac32f612a6b5e2307a0067609fb31 100644 (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
index 544fa537ccae411ecf553c9310ebc30de4ec8d13..25442fcadd238b848c9cd6e5aa10914be88dc024 100644 (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