From f40210dd26ccf796d9e45fd5fb0b9e3b00f2e949 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 8 Apr 2006 01:17:42 +0000 Subject: [PATCH] new testcase for shufflevector git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27508 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/instructions.ll | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/Feature/instructions.ll b/test/Feature/instructions.ll index a65adead691..99cec7699c9 100644 --- a/test/Feature/instructions.ll +++ b/test/Feature/instructions.ll @@ -11,3 +11,15 @@ uint %test_extractelement(<4 x uint> %V) { %R = insertelement <4 x uint> %V, uint 0, uint 0 ret <4 x uint> %R } + +<4 x uint> %test_shufflevector(<4 x uint> %V) { + %R = shufflevector <4 x uint> %V, <4 x uint> %V, + <4 x uint> < uint 1, uint undef, uint 7, uint 2> + ret <4 x uint> %R +} + +<4 x float> %test_shufflevector(<4 x float> %V) { + %R = shufflevector <4 x float> %V, <4 x float> undef, + <4 x uint> < uint 1, uint undef, uint 7, uint 2> + ret <4 x float> %R +} -- 2.34.1