On AVX/AVX2 the type v8i1 is legalized to v8i16, which is an XMM sized
[oota-llvm.git] / test / CodeGen / X86 / storetrunc-fp.ll
1 ; RUN: llc < %s -march=x86 | not grep flds
2
3 define void @foo(x86_fp80 %a, x86_fp80 %b, float* %fp) {
4         %c = fadd x86_fp80 %a, %b
5         %d = fptrunc x86_fp80 %c to float
6         store float %d, float* %fp
7         ret void
8 }