summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2004-03-30-Select-Max.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-14 22:31:16 +0000
committerChris Lattner <sabre@nondot.org>2010-03-14 22:31:16 +0000
commit1db570df596eedaabb45cc8c6896f563e6931f82 (patch)
tree250bca09f9370b5ea8066f5d9d9fdf6bfe68bfee /test/CodeGen/X86/2004-03-30-Select-Max.ll
parent1f84e32ada02d0f1fc8804bb323fbe183142bde7 (diff)
downloadllvm-1db570df596eedaabb45cc8c6896f563e6931f82.tar.gz
llvm-1db570df596eedaabb45cc8c6896f563e6931f82.tar.bz2
llvm-1db570df596eedaabb45cc8c6896f563e6931f82.tar.xz
filecheckize a test and mark these wiht a cpu so it passes
on hosts without cmovs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2004-03-30-Select-Max.ll')
-rw-r--r--test/CodeGen/X86/2004-03-30-Select-Max.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2004-03-30-Select-Max.ll b/test/CodeGen/X86/2004-03-30-Select-Max.ll
index b6631b6211..c44d10ac5b 100644
--- a/test/CodeGen/X86/2004-03-30-Select-Max.ll
+++ b/test/CodeGen/X86/2004-03-30-Select-Max.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 | not grep {j\[lgbe\]}
+; RUN: llc < %s -march=x86 -mcpu=yonah | not grep {j\[lgbe\]}
-define i32 @max(i32 %A, i32 %B) {
+define i32 @max(i32 %A, i32 %B) nounwind {
%gt = icmp sgt i32 %A, %B ; <i1> [#uses=1]
%R = select i1 %gt, i32 %A, i32 %B ; <i32> [#uses=1]
ret i32 %R