summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2012-10-10 18:04:52 +0000
committerMichael Liao <michael.liao@intel.com>2012-10-10 18:04:52 +0000
commite26b0313de0df8b88a6e23500f5cee1ca2e92cad (patch)
treeab12c02b09cf3cb79914775d1afaae60ff612058
parent707953d0252edf2614843229aed53478c0536263 (diff)
downloadbcm5719-llvm-e26b0313de0df8b88a6e23500f5cee1ca2e92cad.tar.gz
bcm5719-llvm-e26b0313de0df8b88a6e23500f5cee1ca2e92cad.zip
Specify CPU model to avoid breaking ATOM builds
llvm-svn: 165638
-rw-r--r--llvm/test/CodeGen/X86/fp-load-trunc.ll4
-rw-r--r--llvm/test/CodeGen/X86/fp-trunc.ll4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/fp-load-trunc.ll b/llvm/test/CodeGen/X86/fp-load-trunc.ll
index 8430a31b3a8..2ae65c97d97 100644
--- a/llvm/test/CodeGen/X86/fp-load-trunc.ll
+++ b/llvm/test/CodeGen/X86/fp-load-trunc.ll
@@ -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
diff --git a/llvm/test/CodeGen/X86/fp-trunc.ll b/llvm/test/CodeGen/X86/fp-trunc.ll
index 544fa537cca..25442fcadd2 100644
--- a/llvm/test/CodeGen/X86/fp-trunc.ll
+++ b/llvm/test/CodeGen/X86/fp-trunc.ll
@@ -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
OpenPOWER on IntegriCloud