allwinner_a64/android/external/llvm/test/CodeGen/Generic/storetrunc-fp.ll
2018-08-08 16:14:42 +08:00

8 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
}