forked from OSchip/llvm-project
parent
e7ea2f43bf
commit
9f7fed1c1b
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue