summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse-minmax.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-04-27 07:11:58 +0000
committerCraig Topper <craig.topper@gmail.com>2012-04-27 07:11:58 +0000
commit76c5897eae2c60c66bb3a6d71b2971141978c2f5 (patch)
treecaf911d101e316450d02d948ada86c5ee35c3bc4 /test/CodeGen/X86/sse-minmax.ll
parentafb3b5ebe61b480527de86311d2a0770fc857d38 (diff)
downloadllvm-76c5897eae2c60c66bb3a6d71b2971141978c2f5.tar.gz
llvm-76c5897eae2c60c66bb3a6d71b2971141978c2f5.tar.bz2
llvm-76c5897eae2c60c66bb3a6d71b2971141978c2f5.tar.xz
Add mcpu to tests to prevent them from using AVX instructions on Sandy Bridge after r155618.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse-minmax.ll')
-rw-r--r--test/CodeGen/X86/sse-minmax.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/sse-minmax.ll b/test/CodeGen/X86/sse-minmax.ll
index 11124409f0..903b54ea6e 100644
--- a/test/CodeGen/X86/sse-minmax.ll
+++ b/test/CodeGen/X86/sse-minmax.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86-64 -asm-verbose=false -join-physregs -promote-elements | FileCheck %s
-; RUN: llc < %s -march=x86-64 -asm-verbose=false -join-physregs -enable-unsafe-fp-math -enable-no-nans-fp-math -promote-elements | FileCheck -check-prefix=UNSAFE %s
-; RUN: llc < %s -march=x86-64 -asm-verbose=false -join-physregs -enable-no-nans-fp-math -promote-elements | FileCheck -check-prefix=FINITE %s
+; RUN: llc < %s -march=x86-64 -mcpu=nehalem -asm-verbose=false -join-physregs -promote-elements | FileCheck %s
+; RUN: llc < %s -march=x86-64 -mcpu=nehalem -asm-verbose=false -join-physregs -enable-unsafe-fp-math -enable-no-nans-fp-math -promote-elements | FileCheck -check-prefix=UNSAFE %s
+; RUN: llc < %s -march=x86-64 -mcpu=nehalem -asm-verbose=false -join-physregs -enable-no-nans-fp-math -promote-elements | FileCheck -check-prefix=FINITE %s
; Some of these patterns can be matched as SSE min or max. Some of
; then can be matched provided that the operands are swapped.