mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
adb8aeaf6a
llvm-svn: 46139
9 lines
177 B
LLVM
9 lines
177 B
LLVM
; RUN: llvm-as < %s | llc
|
|
|
|
define void @foo(double %a, double %b, float* %fp) {
|
|
%c = add double %a, %b
|
|
%d = fptrunc double %c to float
|
|
store float %d, float* %fp
|
|
ret void
|
|
}
|