Mercurial > hg > CbC > CbC_llvm
comparison test/Transforms/InstCombine/tan-nofastmath.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
96:6418606d0ead | 100:7d135dc70f03 |
---|---|
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) |