mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01: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
|
|
}
|