1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 > %t
2 ; RUN: not grep fmrs %t
4 @i = weak global i32 0 ; <i32*> [#uses=2]
5 @u = weak global i32 0 ; <i32*> [#uses=2]
7 define void @foo5(float %x) {
9 %tmp1 = fptosi float %x to i32 ; <i32> [#uses=1]
10 store i32 %tmp1, i32* @i
14 define void @foo6(float %x) {
16 %tmp1 = fptoui float %x to i32 ; <i32> [#uses=1]
17 store i32 %tmp1, i32* @u
21 define void @foo7(double %x) {
23 %tmp1 = fptosi double %x to i32 ; <i32> [#uses=1]
24 store i32 %tmp1, i32* @i
28 define void @foo8(double %x) {
30 %tmp1 = fptoui double %x to i32 ; <i32> [#uses=1]
31 store i32 %tmp1, i32* @u