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
diff --git a/test/CodeGen/ARM/vmla.ll b/test/CodeGen/ARM/vmla.ll
index 8405218..77cf10a 100644
--- a/test/CodeGen/ARM/vmla.ll
+++ b/test/CodeGen/ARM/vmla.ll
@@ -39,8 +39,8 @@
%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 = add <2 x float> %tmp1, %tmp4
+ %tmp4 = fmul <2 x float> %tmp2, %tmp3
+ %tmp5 = fadd <2 x float> %tmp1, %tmp4
ret <2 x float> %tmp5
}
@@ -83,8 +83,8 @@
%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 = add <4 x float> %tmp1, %tmp4
+ %tmp4 = fmul <4 x float> %tmp2, %tmp3
+ %tmp5 = fadd <4 x float> %tmp1, %tmp4
ret <4 x float> %tmp5
}