blob: 655cbd68b37adb4c9e36e7a68a3f06094c417b6b [file] [log] [blame]
Chris Lattner3bc08502008-01-17 19:59:44 +00001; RUN: llvm-as < %s | llc -march=x86 | not grep flds
2
3define void @foo(x86_fp80 %a, x86_fp80 %b, float* %fp) {
4 %c = add x86_fp80 %a, %b
5 %d = fptrunc x86_fp80 %c to float
6 store float %d, float* %fp
7 ret void
8}