1 ; RUN: llc < %s -march=x86-64 -mattr=+sse2,+break-sse-dep | FileCheck %s --check-prefix=YES
2 ; RUN: llc < %s -march=x86-64 -mattr=+sse2,-break-sse-dep | FileCheck %s --check-prefix=NO
4 define double @t1(float* nocapture %x) nounwind readonly ssp {
7 ; YES: movss (%rdi), %xmm0
8 ; YES; cvtss2sd %xmm0, %xmm0
11 ; NO; cvtss2sd (%rdi), %xmm0
12 %0 = load float* %x, align 4
13 %1 = fpext float %0 to double
17 define float @t2(double* nocapture %x) nounwind readonly ssp {
20 ; YES: movsd (%rdi), %xmm0
21 ; YES; cvtsd2ss %xmm0, %xmm0
24 ; NO; cvtsd2ss (%rdi), %xmm0
25 %0 = load double* %x, align 8
26 %1 = fptrunc double %0 to float