diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-25 22:52:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-25 22:52:49 +0000 |
commit | 78b3c420b2191acde160492510c4a0ab90f94c1c (patch) | |
tree | 19c485f248eaaac9db002338dd7b3e847d687ea4 /test | |
parent | 25e71d10a06ce5947a61e7c3ffa6f58642ea3b4c (diff) | |
download | llvm-78b3c420b2191acde160492510c4a0ab90f94c1c.tar.gz llvm-78b3c420b2191acde160492510c4a0ab90f94c1c.tar.bz2 llvm-78b3c420b2191acde160492510c4a0ab90f94c1c.tar.xz |
new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/InstCombine/vec_shuffle.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/vec_shuffle.ll b/test/Transforms/InstCombine/vec_shuffle.ll index 6d6646395c..6f1612e986 100644 --- 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 +} + |