1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-05 12:31:33 +00:00
llvm-6502/test/CodeGen/Generic/storetrunc-fp.ll
2009-09-09 00:09:15 +00:00

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
}