llvm/llvm/test/CodeGen/Generic/storetrunc-fp.ll

; RUN: llc < %s

define void @foo(double %a, double %b, ptr %fp) {
	%c = fadd double %a, %b
	%d = fptrunc double %c to float
	store float %d, ptr %fp
	ret void
}