new testcase.

llvm-svn: 46139
This commit is contained in:
Chris Lattner 2008-01-17 19:47:23 +00:00
parent e7ea2f43bf
commit 9f7fed1c1b
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
; RUN: llvm-as < %s | llc
define void @foo(double %a, double %b, float* %fp) {
%c = add double %a, %b
%d = fptrunc double %c to float
store float %d, float* %fp
ret void
}