Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc -mcpu=cortex-a9 -mtriple=arm-linux-unknown -mattr=+neon < %s | FileCheck %s
      2 
      3 ; CHECK: func_4_8
      4 ; CHECK: vst1.32
      5 ; CHECK: bx lr
      6 define void @func_4_8(<4 x i8> %param, <4 x i8>* %p) {
      7   %r = add <4 x i8> %param, <i8 1, i8 2, i8 3, i8 4>
      8   store <4 x i8> %r, <4 x i8>* %p
      9   ret void
     10 }
     11 
     12 ; CHECK: func_2_16
     13 ; CHECK: vst1.32
     14 ; CHECK: bx lr
     15 define void @func_2_16(<2 x i16> %param, <2 x i16>* %p) {
     16   %r = add <2 x i16> %param, <i16 1, i16 2>
     17   store <2 x i16> %r, <2 x i16>* %p
     18   ret void
     19 }
     20