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:
9fc18d2
)
new testcase for shufflevector
author
Chris Lattner
<sabre@nondot.org>
Sat, 8 Apr 2006 01:17:42 +0000
(
01:17
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 8 Apr 2006 01:17:42 +0000
(
01:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27508
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/instructions.ll
patch
|
blob
|
history
diff --git
a/test/Feature/instructions.ll
b/test/Feature/instructions.ll
index a65adead691feee30229402f44927f165d862806..99cec7699c90b32cdb5223ceb529e9717edd37f0 100644
(file)
--- a/
test/Feature/instructions.ll
+++ b/
test/Feature/instructions.ll
@@
-11,3
+11,15
@@
uint %test_extractelement(<4 x uint> %V) {
%R = insertelement <4 x uint> %V, uint 0, uint 0
ret <4 x uint> %R
}
+
+<4 x uint> %test_shufflevector(<4 x uint> %V) {
+ %R = shufflevector <4 x uint> %V, <4 x uint> %V,
+ <4 x uint> < uint 1, uint undef, uint 7, uint 2>
+ ret <4 x uint> %R
+}
+
+<4 x float> %test_shufflevector(<4 x float> %V) {
+ %R = shufflevector <4 x float> %V, <4 x float> undef,
+ <4 x uint> < uint 1, uint undef, uint 7, uint 2>
+ ret <4 x float> %R
+}