xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/storetrunc-fp.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s
2
3define void @foo(double %a, double %b, float* %fp) {
4	%c = fadd double %a, %b
5	%d = fptrunc double %c to float
6	store float %d, float* %fp
7	ret void
8}
9