From 9a36318c54f5292551575c5b0526ef950537fcd1 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 4 Sep 2016 13:30:46 +0000 Subject: [PATCH] EOL fixes llvm-svn: 280624 --- llvm/test/CodeGen/X86/sse2-intrinsics-x86.ll | 22 ++--- llvm/test/CodeGen/X86/vec_fptrunc.ll | 86 ++++++++++---------- 2 files changed, 54 insertions(+), 54 deletions(-) diff --git a/llvm/test/CodeGen/X86/sse2-intrinsics-x86.ll b/llvm/test/CodeGen/X86/sse2-intrinsics-x86.ll index 4fcfa4dcf6f4..4e01d429b7d2 100644 --- a/llvm/test/CodeGen/X86/sse2-intrinsics-x86.ll +++ b/llvm/test/CodeGen/X86/sse2-intrinsics-x86.ll @@ -245,17 +245,17 @@ define <4 x float> @test_x86_sse2_cvtpd2ps(<2 x double> %a0) { declare <4 x float> @llvm.x86.sse2.cvtpd2ps(<2 x double>) nounwind readnone define <4 x float> @test_x86_sse2_cvtpd2ps_zext(<2 x double> %a0) nounwind { -; SSE-LABEL: test_x86_sse2_cvtpd2ps_zext: -; SSE: ## BB#0: -; SSE-NEXT: cvtpd2ps %xmm0, %xmm0 -; SSE-NEXT: retl -; -; KNL-LABEL: test_x86_sse2_cvtpd2ps_zext: -; KNL: ## BB#0: -; KNL-NEXT: vcvtpd2ps %xmm0, %xmm0 -; KNL-NEXT: retl - %cvt = call <4 x float> @llvm.x86.sse2.cvtpd2ps(<2 x double> %a0) - %res = shufflevector <4 x float> %cvt, <4 x float> zeroinitializer, <4 x i32> +; SSE-LABEL: test_x86_sse2_cvtpd2ps_zext: +; SSE: ## BB#0: +; SSE-NEXT: cvtpd2ps %xmm0, %xmm0 +; SSE-NEXT: retl +; +; KNL-LABEL: test_x86_sse2_cvtpd2ps_zext: +; KNL: ## BB#0: +; KNL-NEXT: vcvtpd2ps %xmm0, %xmm0 +; KNL-NEXT: retl + %cvt = call <4 x float> @llvm.x86.sse2.cvtpd2ps(<2 x double> %a0) + %res = shufflevector <4 x float> %cvt, <4 x float> zeroinitializer, <4 x i32> ret <4 x float> %res } diff --git a/llvm/test/CodeGen/X86/vec_fptrunc.ll b/llvm/test/CodeGen/X86/vec_fptrunc.ll index 6606c30ac228..841ac8a44dab 100644 --- a/llvm/test/CodeGen/X86/vec_fptrunc.ll +++ b/llvm/test/CodeGen/X86/vec_fptrunc.ll @@ -135,54 +135,54 @@ entry: define <4 x float> @fptrunc_frommem2_zext(<2 x double> * %ld) { ; X32-SSE-LABEL: fptrunc_frommem2_zext: -; X32-SSE: # BB#0: -; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %eax -; X32-SSE-NEXT: cvtpd2ps (%eax), %xmm0 -; X32-SSE-NEXT: retl -; -; X32-AVX-LABEL: fptrunc_frommem2_zext: -; X32-AVX: # BB#0: -; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %eax -; X32-AVX-NEXT: vcvtpd2psx (%eax), %xmm0 -; X32-AVX-NEXT: retl -; -; X64-SSE-LABEL: fptrunc_frommem2_zext: -; X64-SSE: # BB#0: -; X64-SSE-NEXT: cvtpd2ps (%rdi), %xmm0 -; X64-SSE-NEXT: retq -; -; X64-AVX-LABEL: fptrunc_frommem2_zext: -; X64-AVX: # BB#0: -; X64-AVX-NEXT: vcvtpd2psx (%rdi), %xmm0 -; X64-AVX-NEXT: retq - %arg = load <2 x double>, <2 x double> * %ld, align 16 - %cvt = fptrunc <2 x double> %arg to <2 x float> +; X32-SSE: # BB#0: +; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %eax +; X32-SSE-NEXT: cvtpd2ps (%eax), %xmm0 +; X32-SSE-NEXT: retl +; +; X32-AVX-LABEL: fptrunc_frommem2_zext: +; X32-AVX: # BB#0: +; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %eax +; X32-AVX-NEXT: vcvtpd2psx (%eax), %xmm0 +; X32-AVX-NEXT: retl +; +; X64-SSE-LABEL: fptrunc_frommem2_zext: +; X64-SSE: # BB#0: +; X64-SSE-NEXT: cvtpd2ps (%rdi), %xmm0 +; X64-SSE-NEXT: retq +; +; X64-AVX-LABEL: fptrunc_frommem2_zext: +; X64-AVX: # BB#0: +; X64-AVX-NEXT: vcvtpd2psx (%rdi), %xmm0 +; X64-AVX-NEXT: retq + %arg = load <2 x double>, <2 x double> * %ld, align 16 + %cvt = fptrunc <2 x double> %arg to <2 x float> %ret = shufflevector <2 x float> %cvt, <2 x float> zeroinitializer, <4 x i32> ret <4 x float> %ret } define <4 x float> @fptrunc_fromreg2_zext(<2 x double> %arg) { -; X32-SSE-LABEL: fptrunc_fromreg2_zext: -; X32-SSE: # BB#0: -; X32-SSE-NEXT: cvtpd2ps %xmm0, %xmm0 -; X32-SSE-NEXT: retl -; -; X32-AVX-LABEL: fptrunc_fromreg2_zext: -; X32-AVX: # BB#0: -; X32-AVX-NEXT: vcvtpd2ps %xmm0, %xmm0 -; X32-AVX-NEXT: retl -; -; X64-SSE-LABEL: fptrunc_fromreg2_zext: -; X64-SSE: # BB#0: -; X64-SSE-NEXT: cvtpd2ps %xmm0, %xmm0 -; X64-SSE-NEXT: retq -; -; X64-AVX-LABEL: fptrunc_fromreg2_zext: -; X64-AVX: # BB#0: -; X64-AVX-NEXT: vcvtpd2ps %xmm0, %xmm0 -; X64-AVX-NEXT: retq - %cvt = fptrunc <2 x double> %arg to <2 x float> - %ret = shufflevector <2 x float> %cvt, <2 x float> zeroinitializer, <4 x i32> +; X32-SSE-LABEL: fptrunc_fromreg2_zext: +; X32-SSE: # BB#0: +; X32-SSE-NEXT: cvtpd2ps %xmm0, %xmm0 +; X32-SSE-NEXT: retl +; +; X32-AVX-LABEL: fptrunc_fromreg2_zext: +; X32-AVX: # BB#0: +; X32-AVX-NEXT: vcvtpd2ps %xmm0, %xmm0 +; X32-AVX-NEXT: retl +; +; X64-SSE-LABEL: fptrunc_fromreg2_zext: +; X64-SSE: # BB#0: +; X64-SSE-NEXT: cvtpd2ps %xmm0, %xmm0 +; X64-SSE-NEXT: retq +; +; X64-AVX-LABEL: fptrunc_fromreg2_zext: +; X64-AVX: # BB#0: +; X64-AVX-NEXT: vcvtpd2ps %xmm0, %xmm0 +; X64-AVX-NEXT: retq + %cvt = fptrunc <2 x double> %arg to <2 x float> + %ret = shufflevector <2 x float> %cvt, <2 x float> zeroinitializer, <4 x i32> ret <4 x float> %ret }