Fix possible infinite loop in shrink wrapping when searching for save/restore
[oota-llvm.git] / test / CodeGen / ARM / 2009-08-31-TwoRegShuffle.ll
index e1e60e6317a6900d148d0ddfcdb6848a2c04ffa5..a6d128d9e0ce604fd879174de72a7a147767cd5f 100644 (file)
@@ -1,9 +1,10 @@
-; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
+; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
 ; pr4843
+
 define <4 x i16> @v2regbug(<4 x i16>* %B) nounwind {
-;CHECK: v2regbug:
+;CHECK-LABEL: v2regbug:
 ;CHECK: vzip.16
-       %tmp1 = load <4 x i16>* %B
+       %tmp1 = load <4 x i16>, <4 x i16>* %B
        %tmp2 = shufflevector <4 x i16> %tmp1, <4 x i16> undef, <4 x i32><i32 0, i32 0, i32 1, i32 1>
        ret <4 x i16> %tmp2
 }