Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=armv7-eabi -float-abi=hard -mcpu=cortex-a8 | FileCheck %s
      2 
      3 ; CHECK: test:
      4 ; CHECK:         vabs.f32        q0, q0
      5 define <4 x float> @test(<4 x float> %a) {
      6   %foo = call <4 x float> @llvm.fabs.v4f32(<4 x float> %a)
      7   ret <4 x float> %foo
      8 }
      9 declare <4 x float> @llvm.fabs.v4f32(<4 x float> %a)
     10 
     11 ; CHECK: test2:
     12 ; CHECK:        vabs.f32        d0, d0
     13 define <2 x float> @test2(<2 x float> %a) {
     14   %foo = call <2 x float> @llvm.fabs.v2f32(<2 x float> %a)
     15     ret <2 x float> %foo
     16 }
     17 declare <2 x float> @llvm.fabs.v2f32(<2 x float> %a)
     18