forked from OSchip/llvm-project
9 lines
212 B
LLVM
9 lines
212 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 | not grep flds
|
||
|
|
||
|
define void @foo(x86_fp80 %a, x86_fp80 %b, float* %fp) {
|
||
|
%c = add x86_fp80 %a, %b
|
||
|
%d = fptrunc x86_fp80 %c to float
|
||
|
store float %d, float* %fp
|
||
|
ret void
|
||
|
}
|