When performing a truncating store, it's possible to rearrange the data
[oota-llvm.git] / test / CodeGen / ARM / 2012-03-13-DAGCombineBug.ll
index 6d596dfc071ee34e4c38c2d2ebeb567e260986df..6206cd74d584f527cd0479ee9b00133cce7ddb93 100644 (file)
@@ -6,8 +6,7 @@
 ; (i32 extload $addr+c*sizeof(i16)
 define void @test_hi_short3(<3 x i16> * nocapture %srcA, <2 x i16> * nocapture %dst) nounwind {
 entry:
-; CHECK: ldrh [[REG:r[0-9]+]]
-; CHECK: strh [[REG]]
+; CHECK: vst1.32
   %0 = load <3 x i16> * %srcA, align 8
   %1 = shufflevector <3 x i16> %0, <3 x i16> undef, <2 x i32> <i32 2, i32 undef>
   store <2 x i16> %1, <2 x i16> * %dst, align 4