Add LDC compiler to list of external OS projects using LLVM 3.8
[oota-llvm.git] / test / Transforms / InstCombine / tan-nofastmath.ll
1 ; RUN: opt < %s -instcombine -S | FileCheck %s
2
3 define float @mytan(float %x) {
4 entry:
5   %call = call float @atanf(float %x)
6   %call1 = call float @tanf(float %call) 
7   ret float %call1
8 }
9
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
14 ; CHECK-NEXT: }
15
16 declare float @tanf(float)
17 declare float @atanf(float)