blob: 945cf48f9bde55d8d0ee66d7d1a52770f2942688 [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) {
Dan Gohman7ce405e2009-06-04 22:49:04 +00004 %c = fadd x86_fp80 %a, %b
Chris Lattner3bc08502008-01-17 19:59:44 +00005 %d = fptrunc x86_fp80 %c to float
6 store float %d, float* %fp
7 ret void
8}