]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/storetrunc-fp.ll
Vendor import of llvm trunk r291274:
[FreeBSD/FreeBSD.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 }