Add a comment noting that the fdiv -> fmul conversion won't generate
[oota-llvm.git] / test / CodeGen / X86 / vec_fpext.ll
1 ; RUN: llc < %s -march=x86 -mattr=+sse41,-avx | FileCheck %s
2
3 ; PR11674
4 define void @fpext_frommem(<2 x float>* %in, <2 x double>* %out) {
5 entry:
6 ; TODO: We should be able to generate cvtps2pd for the load.
7 ; For now, just check that we generate something sane.
8 ; CHECK: cvtss2sd
9 ; CHECK: cvtss2sd
10   %0 = load <2 x float>* %in, align 8
11   %1 = fpext <2 x float> %0 to <2 x double>
12   store <2 x double> %1, <2 x double>* %out, align 1
13   ret void
14 }