projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add a trivial test that vector compares work.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
vec_compare.ll
1
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep pcmpgtd
2
3
define <4 x i32> @test(<4 x i32> %A, <4 x i32> %B) nounwind {
4
%C = vicmp sgt <4 x i32> %A, %B
5
ret <4 x i32> %C
6
}
7