From bee05dc8408d363335bb623a4f3349ff90639d35 Mon Sep 17 00:00:00 2001 From: Stepan Dyatkovskiy Date: Mon, 20 Aug 2012 08:03:18 +0000 Subject: Forget to add testcase for r162195. Sorry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162196 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/crash-shufflevector.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CodeGen/ARM/crash-shufflevector.ll (limited to 'test/CodeGen') diff --git a/test/CodeGen/ARM/crash-shufflevector.ll b/test/CodeGen/ARM/crash-shufflevector.ll new file mode 100644 index 0000000..ece4234 --- /dev/null +++ b/test/CodeGen/ARM/crash-shufflevector.ll @@ -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> + %y2 = shufflevector <4 x i8> %param2, <4 x i8> undef, <16 x i32> + %z = shufflevector <16 x i8> %y1, <16 x i8> %y2, <16 x i32> + call void @g(<16 x i8> %z) + ret void +} -- cgit v1.1