projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a6c2d8
)
add a trivial test that vector compares work.
author
Chris Lattner
<sabre@nondot.org>
Tue, 7 Jul 2009 22:51:09 +0000
(22:51 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 7 Jul 2009 22:51:09 +0000
(22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74963
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/vec_compare.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/vec_compare.ll
b/test/CodeGen/X86/vec_compare.ll
new file mode 100644
(file)
index 0000000..
87d530d
--- /dev/null
+++ b/
test/CodeGen/X86/vec_compare.ll
@@ -0,0
+1,7
@@
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep pcmpgtd
+
+define <4 x i32> @test(<4 x i32> %A, <4 x i32> %B) nounwind {
+ %C = vicmp sgt <4 x i32> %A, %B
+ ret <4 x i32> %C
+}
+