OSDN Git Service

new testcase
authorChris Lattner <sabre@nondot.org>
Mon, 10 Apr 2006 23:06:18 +0000 (23:06 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Apr 2006 23:06:18 +0000 (23:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27572 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/vec_shuffle.ll

index 09e9a6a..6d66463 100644 (file)
@@ -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
+}
+