llvm.org GIT mirror llvm / release_35@215010 test / CodeGen / Generic / storetrunc-fp.ll
release_35@215010

Tree @release_35@215010 (Download .tar.gz)

storetrunc-fp.ll @release_35@215010raw · history · blame

1
2
3
4
5
6
7
8
; 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
}