blob: 6fa139be22278a9d5ba76d5a7d4c845858fab1f6 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as < %s | opt -instcombine -globalopt | llvm-dis | \
2; RUN: grep {internal fastcc float @foo}
3
4define internal float @foo() {
5 ret float 0.000000e+00
6}
7
8define float @bar() {
9 %tmp1 = call float (...)* bitcast (float ()* @foo to float (...)*)( )
Dan Gohman7ce405e2009-06-04 22:49:04 +000010 %tmp2 = fmul float %tmp1, 1.000000e+01 ; <float> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011 ret float %tmp2
12}
13