projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[fast-isel] Tell fast-isel to do nothing with the new donothing intrinsic.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2011-09-18-sse2cmp.ll
1
;RUN: llc < %s -march=x86 -mcpu=yonah -mattr=+sse2,-sse41 | FileCheck %s
2
3
;CHECK: @max
4
;CHECK: cmplepd
5
;CHECK: ret
6
7
define <2 x double> @max(<2 x double> %x, <2 x double> %y) {
8
%max_is_x = fcmp oge <2 x double> %x, %y
9
%max = select <2 x i1> %max_is_x, <2 x double> %x, <2 x double> %y
10
ret <2 x double> %max
11
}
12