Home | History | Annotate | Download | only in InstCombine
      1 ; RUN: opt < %s -instcombine -S | FileCheck %s
      2 
      3 define double @mypow(double %x, double %y) #0 {
      4 entry:
      5   %call = call double @exp(double %x)
      6   %pow = call double @llvm.pow.f64(double %call, double %y)
      7   ret double %pow
      8 }
      9 
     10 ; CHECK-LABEL: define double @mypow(
     11 ; CHECK:   %call = call double @exp(double %x)
     12 ; CHECK:   %pow = call double @llvm.pow.f64(double %call, double %y)
     13 ; CHECK:   ret double %pow
     14 ; CHECK: }
     15 
     16 declare double @exp(double) #1
     17 declare double @llvm.pow.f64(double, double)
     18