Chris Lattner | 3bc0850 | 2008-01-17 19:59:44 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 | not grep flds |
2 | |||||
3 | define 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 | } |