Line endings fix. NFC.
[oota-llvm.git] / test / CodeGen / X86 / avx-splat.ll
index 37fce6c10d8472bde40c3e3514bd5a3b135acd76..c7e8b3b6b8bf53cc5500343bfcc85d5458922545 100644 (file)
@@ -15,37 +15,37 @@ define <16 x i16> @funcB(<16 x i16> %a) nounwind uwtable readnone ssp {
 entry:
   %shuffle = shufflevector <16 x i16> %a, <16 x i16> undef, <16 x i32> <i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5>
   ret <16 x i16> %shuffle
-}\r
-\r
-; CHECK: vmovq\r
-; CHECK-NEXT: vmovddup %xmm\r
-; CHECK-NEXT: vinsertf128 $1\r
-define <4 x i64> @funcC(i64 %q) nounwind uwtable readnone ssp {\r
-entry:\r
+}
+
+; CHECK: vmovq
+; CHECK-NEXT: vmovddup %xmm
+; CHECK-NEXT: vinsertf128 $1
+define <4 x i64> @funcC(i64 %q) nounwind uwtable readnone ssp {
+entry:
   %vecinit.i = insertelement <4 x i64> undef, i64 %q, i32 0
   %vecinit2.i = insertelement <4 x i64> %vecinit.i, i64 %q, i32 1
   %vecinit4.i = insertelement <4 x i64> %vecinit2.i, i64 %q, i32 2
   %vecinit6.i = insertelement <4 x i64> %vecinit4.i, i64 %q, i32 3
-  ret <4 x i64> %vecinit6.i\r
-}\r
-\r
-; CHECK: vmovddup %xmm\r
-; CHECK-NEXT: vinsertf128 $1\r
-define <4 x double> @funcD(double %q) nounwind uwtable readnone ssp {\r
-entry:\r
+  ret <4 x i64> %vecinit6.i
+}
+
+; CHECK: vmovddup %xmm
+; CHECK-NEXT: vinsertf128 $1
+define <4 x double> @funcD(double %q) nounwind uwtable readnone ssp {
+entry:
   %vecinit.i = insertelement <4 x double> undef, double %q, i32 0
   %vecinit2.i = insertelement <4 x double> %vecinit.i, double %q, i32 1
   %vecinit4.i = insertelement <4 x double> %vecinit2.i, double %q, i32 2
   %vecinit6.i = insertelement <4 x double> %vecinit4.i, double %q, i32 3
   ret <4 x double> %vecinit6.i
 }
-\r
-; Test this turns into a broadcast:\r
-;   shuffle (scalar_to_vector (load (ptr + 4))), undef, <0, 0, 0, 0>\r
-;\r
-; CHECK: vbroadcastss\r
-define <8 x float> @funcE() nounwind {\r
-allocas:\r
+
+; Test this turns into a broadcast:
+;   shuffle (scalar_to_vector (load (ptr + 4))), undef, <0, 0, 0, 0>
+;
+; CHECK: vbroadcastss
+define <8 x float> @funcE() nounwind {
+allocas:
   %udx495 = alloca [18 x [18 x float]], align 32
   br label %for_test505.preheader