13 lines · plain
1; RUN: opt < %s -passes='function(instcombine),globalopt' -S | FileCheck %s2; CHECK: internal fastcc float @foo3 4define internal float @foo() {5 ret float 0.000000e+006}7 8define float @bar() {9 %tmp1 = call float (...) @foo( )10 %tmp2 = fmul float %tmp1, 1.000000e+01 ; <float> [#uses=1]11 ret float %tmp212}13