From e26b0313de0df8b88a6e23500f5cee1ca2e92cad Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Wed, 10 Oct 2012 18:04:52 +0000 Subject: [PATCH] Specify CPU model to avoid breaking ATOM builds llvm-svn: 165638 --- llvm/test/CodeGen/X86/fp-load-trunc.ll | 4 ++-- llvm/test/CodeGen/X86/fp-trunc.ll | 4 ++-- 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 8430a31..2ae65c9 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 544fa53..25442fc 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 -- 2.7.4