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:
25e71d1
)
new testcases
author
Chris Lattner
<sabre@nondot.org>
Thu, 25 May 2006 22:52:49 +0000
(22:52 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 25 May 2006 22:52:49 +0000
(22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28484
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/vec_shuffle.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/vec_shuffle.ll
b/test/Transforms/InstCombine/vec_shuffle.ll
index 6d6646395c1a1bfa7f03a14c4a6af1f9019cde0f..6f1612e9867c4a209b056b22a809736631b871c7 100644
(file)
--- a/
test/Transforms/InstCombine/vec_shuffle.ll
+++ b/
test/Transforms/InstCombine/vec_shuffle.ll
@@
-22,3
+22,15
@@
float %test3(%T %A, %T %B, float %f) {
ret float %E
}
+int %test4(<4 x int> %X) {
+ %tmp152.i53899.i = shufflevector <4 x int> %X, <4 x int> undef, <4 x uint> zeroinitializer
+ %tmp34 = extractelement <4 x int> %tmp152.i53899.i, uint 0
+ ret int %tmp34
+}
+
+int %test5(<4 x int> %X) {
+ %tmp152.i53899.i = shufflevector <4 x int> %X, <4 x int> undef, <4 x uint> <uint 3, uint 2, uint undef, uint undef>
+ %tmp34 = extractelement <4 x int> %tmp152.i53899.i, uint 0
+ ret int %tmp34
+}
+