projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[x86] Add initial basic support for forming blends of v16i8 vectors.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2004-03-30-Select-Max.ll
1
; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
2
; CHECK-NOT: {{j[lgbe]}}
3
4
define i32 @max(i32 %A, i32 %B) nounwind {
5
%gt = icmp sgt i32 %A, %B ; <i1> [#uses=1]
6
%R = select i1 %gt, i32 %A, i32 %B ; <i32> [#uses=1]
7
ret i32 %R
8
}
9