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:
73fa49d
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Thu, 25 May 2006 23:23:22 +0000
(23:23 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 25 May 2006 23:23:22 +0000
(23:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28486
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 6f1612e9867c4a209b056b22a809736631b871c7..47ce526f62bda431486c4baa1ebaaa4b926be4a4 100644
(file)
--- a/
test/Transforms/InstCombine/vec_shuffle.ll
+++ b/
test/Transforms/InstCombine/vec_shuffle.ll
@@
-34,3
+34,11
@@
int %test5(<4 x int> %X) {
ret int %tmp34
}
+float %test6(<4 x float> %X) {
+ %X = cast <4 x float> %X to <4 x int>
+ %tmp152.i53899.i = shufflevector <4 x int> %X, <4 x int> undef, <4 x uint> zeroinitializer
+ %tmp152.i53900.i = cast <4 x int> %tmp152.i53899.i to <4 x float>
+ %tmp34 = extractelement <4 x float> %tmp152.i53900.i, uint 0
+ ret float %tmp34
+}
+