Home | History | Annotate | Download | only in X86
      1 ; RUN: llc -mtriple=i386-linux-gnueabi %s -o - | FileCheck %s
      2 
      3 ; Log2 and exp2 are string-matched to intrinsics. If they are not declared
      4 ; readnone, they can't be changed to intrinsics (because they can change errno).
      5 
      6 declare double @log2(double)
      7 declare double @exp2(double)
      8 
      9 define void @f() {
     10        ; CHECK: calll log2
     11        %1 = call double @log2(double 0.000000e+00)
     12        ; CHECK: calll exp2
     13        %2 = call double @exp2(double 0.000000e+00)
     14        ret void
     15 }
     16