[llvm-commits] [llvm] r162196 - /llvm/trunk/test/CodeGen/ARM/crash-shufflevector.ll

Stepan Dyatkovskiy stpworld at narod.ru
Mon Aug 20 01:03:18 PDT 2012


Author: dyatkovskiy
Date: Mon Aug 20 03:03:18 2012
New Revision: 162196

URL: http://llvm.org/viewvc/llvm-project?rev=162196&view=rev
Log:
Forget to add testcase for r162195. Sorry.

Added:
    llvm/trunk/test/CodeGen/ARM/crash-shufflevector.ll

Added: llvm/trunk/test/CodeGen/ARM/crash-shufflevector.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/crash-shufflevector.ll?rev=162196&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/crash-shufflevector.ll (added)
+++ llvm/trunk/test/CodeGen/ARM/crash-shufflevector.ll Mon Aug 20 03:03:18 2012
@@ -0,0 +1,10 @@
+; RUN: llc < %s -mtriple=armv7--
+
+declare void @g(<16 x i8>)
+define void @f(<4 x i8> %param1, <4 x i8> %param2) {
+   %y1 = shufflevector <4 x i8> %param1, <4 x i8> undef, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
+   %y2 = shufflevector <4 x i8> %param2, <4 x i8> undef, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
+   %z = shufflevector <16 x i8> %y1, <16 x i8> %y2, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 16, i32 17, i32 18, i32 19>
+   call void @g(<16 x i8> %z)
+   ret void
+}





More information about the llvm-commits mailing list