Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=armv5e-none-linux-gnueabi -mattr=+vfp2  | FileCheck %s -check-prefix=CHECK-VABS
      2 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi  -mattr=+vfp3 | FileCheck  %s -check-prefix=CHECK-BFC
      3 
      4 
      5 define double @test(double %tx) {
      6 ;CHECK-LABEL: test:
      7   %call = tail call double @fabs(double %tx)
      8   ret double %call
      9 ;CHECK-VABS: vabs.f64
     10 ;CHECK-BFC: bfc
     11 }
     12 
     13 declare double @fabs(double) readnone
     14 
     15