1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 define float @mytan(float %x) {
4 %call = call fast float @atanf(float %x)
5 %call1 = call fast float @tanf(float %call)
9 ; CHECK-LABEL: define float @mytan(
12 define float @test2(float ()* %fptr) {
13 %call1 = call fast float %fptr()
14 %tan = call fast float @tanf(float %call1)
21 declare float @tanf(float)
22 declare float @atanf(float)