Mercurial > hg > CbC > CbC_llvm
view test/Transforms/InstCombine/tan-nofastmath.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 7d135dc70f03 |
children |
line wrap: on
line source
; RUN: opt < %s -instcombine -S | FileCheck %s define float @mytan(float %x) { entry: %call = call float @atanf(float %x) %call1 = call float @tanf(float %call) ret float %call1 } ; CHECK-LABEL: define float @mytan( ; CHECK: %call = call float @atanf(float %x) ; CHECK-NEXT: %call1 = call float @tanf(float %call) ; CHECK-NEXT: ret float %call1 ; CHECK-NEXT: } declare float @tanf(float) declare float @atanf(float)