1 ; RUN: llvm-as < %s | llc -march=arm | \
2 ; RUN: grep {mov r0, #0} | count 1
3 ; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | \
4 ; RUN: grep {flds.*\\\[} | count 1
5 ; RUN: llvm-as < %s | llc -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 = add float %tmp, %u ; <float> [#uses=1]
18 define void @f3(float %a, float %b, float* %v) {
19 %tmp = add float %a, %b ; <float> [#uses=1]
20 store float %tmp, float* %v