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
8 define float @f1(float %a) {
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]
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