summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/vmls.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-03 22:36:46 +0000
committerDan Gohman <gohman@apple.com>2010-05-03 22:36:46 +0000
commitd4d01154ef0cb9d84d1c1c342ec9d3115d932e99 (patch)
tree1f238baeb9cd6c7982cf1c5d0aa7f6d7a06f6078 /test/CodeGen/ARM/vmls.ll
parentb4c14aaa50b58ac723d0ed179695e1cd7296572a (diff)
Fix tests to use fadd, fsub, and fmul, instead of add, sub, and mul,
when the type is floating-point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/vmls.ll')
-rw-r--r--test/CodeGen/ARM/vmls.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/vmls.ll b/test/CodeGen/ARM/vmls.ll
index c89552e6f9e..2b70a7878ce 100644
--- a/test/CodeGen/ARM/vmls.ll
+++ b/test/CodeGen/ARM/vmls.ll
@@ -39,8 +39,8 @@ define <2 x float> @vmlsf32(<2 x float>* %A, <2 x float>* %B, <2 x float>* %C) n
%tmp1 = load <2 x float>* %A
%tmp2 = load <2 x float>* %B
%tmp3 = load <2 x float>* %C
- %tmp4 = mul <2 x float> %tmp2, %tmp3
- %tmp5 = sub <2 x float> %tmp1, %tmp4
+ %tmp4 = fmul <2 x float> %tmp2, %tmp3
+ %tmp5 = fsub <2 x float> %tmp1, %tmp4
ret <2 x float> %tmp5
}
@@ -83,8 +83,8 @@ define <4 x float> @vmlsQf32(<4 x float>* %A, <4 x float>* %B, <4 x float>* %C)
%tmp1 = load <4 x float>* %A
%tmp2 = load <4 x float>* %B
%tmp3 = load <4 x float>* %C
- %tmp4 = mul <4 x float> %tmp2, %tmp3
- %tmp5 = sub <4 x float> %tmp1, %tmp4
+ %tmp4 = fmul <4 x float> %tmp2, %tmp3
+ %tmp5 = fsub <4 x float> %tmp1, %tmp4
ret <4 x float> %tmp5
}