1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/CodeGen/Generic/storetrunc-fp.ll
Chris Lattner adb8aeaf6a new testcase.
llvm-svn: 46139
2008-01-17 19:47:23 +00:00

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
}