1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 define float @mytan(float %x) {
5 %call = call float @atanf(float %x)
6 %call1 = call float @tanf(float %call)
10 ; CHECK-LABEL: define float @mytan(
11 ; CHECK: %call = call float @atanf(float %x)
12 ; CHECK-NEXT: %call1 = call float @tanf(float %call)
13 ; CHECK-NEXT: ret float %call1
16 declare float @tanf(float)
17 declare float @atanf(float)