diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-10 23:06:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-10 23:06:18 +0000 |
commit | 0bb1681337a91c974229889f00ef017576fff943 (patch) | |
tree | 2d8767153ab2f2f315015f9f010da7307d979d77 /test/Transforms/InstCombine/vec_shuffle.ll | |
parent | a844fc4cb026cbc5e29f5cd0d97c110147de3828 (diff) | |
download | external_llvm-0bb1681337a91c974229889f00ef017576fff943.zip external_llvm-0bb1681337a91c974229889f00ef017576fff943.tar.gz external_llvm-0bb1681337a91c974229889f00ef017576fff943.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/vec_shuffle.ll')
-rw-r--r-- | test/Transforms/InstCombine/vec_shuffle.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/vec_shuffle.ll b/test/Transforms/InstCombine/vec_shuffle.ll index 09e9a6a..6d66463 100644 --- a/test/Transforms/InstCombine/vec_shuffle.ll +++ b/test/Transforms/InstCombine/vec_shuffle.ll @@ -15,3 +15,10 @@ implementation ret %T %v2 } +float %test3(%T %A, %T %B, float %f) { + %C = insertelement %T %A, float %f, uint 0 + %D = shufflevector %T %C, %T %B, <4 x uint> <uint 5, uint 0, uint 2, uint 7> + %E = extractelement %T %D, uint 1 + ret float %E +} + |