From: Michael Liao Date: Wed, 10 Oct 2012 18:04:52 +0000 (+0000) Subject: Specify CPU model to avoid breaking ATOM builds X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4e2c56bdcbd034b59e7be4f479f3b31238c64bce;p=oota-llvm.git Specify CPU model to avoid breaking ATOM builds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165638 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/fp-load-trunc.ll b/test/CodeGen/X86/fp-load-trunc.ll index 8430a31b3a8..2ae65c97d97 100644 --- a/test/CodeGen/X86/fp-load-trunc.ll +++ b/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/test/CodeGen/X86/fp-trunc.ll b/test/CodeGen/X86/fp-trunc.ll index 544fa537cca..25442fcadd2 100644 --- a/test/CodeGen/X86/fp-trunc.ll +++ b/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