Update NEON struct names to match llvm-gcc changes.
[oota-llvm.git] / test / CodeGen / ARM / fpmem.ll
1 ; RUN: llc < %s -march=arm | \
2 ; RUN:   grep {mov r0, #0} | count 1
3 ; RUN: llc < %s -march=arm -mattr=+vfp2 | \
4 ; RUN:   grep {flds.*\\\[} | count 1
5 ; RUN: llc < %s -march=arm -mattr=+vfp2 | \
6 ; RUN:   grep {fsts.*\\\[} | count 1
7
8 define float @f1(float %a) {
9         ret float 0.000000e+00
10 }
11
12 define float @f2(float* %v, float %u) {
13         %tmp = load float* %v           ; <float> [#uses=1]
14         %tmp1 = fadd float %tmp, %u              ; <float> [#uses=1]
15         ret float %tmp1
16 }
17
18 define void @f3(float %a, float %b, float* %v) {
19         %tmp = fadd float %a, %b         ; <float> [#uses=1]
20         store float %tmp, float* %v
21         ret void
22 }