summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/scalar-int-to-fp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/scalar-int-to-fp.ll')
-rw-r--r--llvm/test/CodeGen/X86/scalar-int-to-fp.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/scalar-int-to-fp.ll b/llvm/test/CodeGen/X86/scalar-int-to-fp.ll
index 580da1535e3..31faa728ce2 100644
--- a/llvm/test/CodeGen/X86/scalar-int-to-fp.ll
+++ b/llvm/test/CodeGen/X86/scalar-int-to-fp.ll
@@ -610,8 +610,9 @@ define double @u64_to_d(i64 %a) nounwind {
; AVX512F_32-NEXT: vmovsd {{.*#+}} xmm0 = mem[0],zero
; AVX512F_32-NEXT: vunpcklps {{.*#+}} xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
; AVX512F_32-NEXT: vsubpd {{\.LCPI.*}}, %xmm0, %xmm0
-; AVX512F_32-NEXT: vhaddpd %xmm0, %xmm0, %xmm0
-; AVX512F_32-NEXT: vmovlpd %xmm0, (%esp)
+; AVX512F_32-NEXT: vpermilpd {{.*#+}} xmm1 = xmm0[1,0]
+; AVX512F_32-NEXT: vaddsd %xmm0, %xmm1, %xmm0
+; AVX512F_32-NEXT: vmovsd %xmm0, (%esp)
; AVX512F_32-NEXT: fldl (%esp)
; AVX512F_32-NEXT: movl %ebp, %esp
; AVX512F_32-NEXT: popl %ebp
OpenPOWER on IntegriCloud