mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
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
|
||
|
}
|