mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
142428ce64
llvm-svn: 81293
9 lines
168 B
LLVM
9 lines
168 B
LLVM
; RUN: llc < %s
|
|
|
|
define void @foo(double %a, double %b, float* %fp) {
|
|
%c = fadd double %a, %b
|
|
%d = fptrunc double %c to float
|
|
store float %d, float* %fp
|
|
ret void
|
|
}
|