blob: 03ad093ba8607c4b71542d729b80a4f2eb80d9b0 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 | not grep flds
Chris Lattner3bc08502008-01-17 19:59:44 +00002
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}