[llvm-commits] CVS: llvm/test/Feature/instructions.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 7 18:17:55 PDT 2006
Changes in directory llvm/test/Feature:
instructions.ll updated: 1.2 -> 1.3
---
Log message:
new testcase for shufflevector
---
Diffs of the changes: (+12 -0)
instructions.ll | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/test/Feature/instructions.ll
diff -u llvm/test/Feature/instructions.ll:1.2 llvm/test/Feature/instructions.ll:1.3
--- llvm/test/Feature/instructions.ll:1.2 Tue Jan 17 14:07:30 2006
+++ llvm/test/Feature/instructions.ll Fri Apr 7 20:17:42 2006
@@ -11,3 +11,15 @@
%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
+}
More information about the llvm-commits
mailing list