Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 | not grep flds |
Chris Lattner | 3bc0850 | 2008-01-17 19:59:44 +0000 | [diff] [blame] | 2 | |
3 | define void @foo(x86_fp80 %a, x86_fp80 %b, float* %fp) { | ||||
Dan Gohman | 7ce405e | 2009-06-04 22:49:04 +0000 | [diff] [blame] | 4 | %c = fadd x86_fp80 %a, %b |
Chris Lattner | 3bc0850 | 2008-01-17 19:59:44 +0000 | [diff] [blame] | 5 | %d = fptrunc x86_fp80 %c to float |
6 | store float %d, float* %fp | ||||
7 | ret void | ||||
8 | } |