diff --git a/test/CodeGen/ARM/crash-shufflevector.ll b/test/CodeGen/ARM/crash-shufflevector.ll new file mode 100644 index 00000000000..ece4234699d --- /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 +}