diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-03 22:36:46 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-03 22:36:46 +0000 |
commit | 0553acff5ed02cd1646d407ac4dc001ce6fb5c32 (patch) | |
tree | 53546d1c38422a7d244b47e8f05b7553a8679f79 /llvm/test/CodeGen/ARM/vmla.ll | |
parent | 1e679cbfffe326b813cc66c969560ff8868d5cf2 (diff) | |
download | bcm5719-llvm-0553acff5ed02cd1646d407ac4dc001ce6fb5c32.tar.gz bcm5719-llvm-0553acff5ed02cd1646d407ac4dc001ce6fb5c32.zip |
Fix tests to use fadd, fsub, and fmul, instead of add, sub, and mul,
when the type is floating-point.
llvm-svn: 102969
Diffstat (limited to 'llvm/test/CodeGen/ARM/vmla.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/vmla.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/vmla.ll b/llvm/test/CodeGen/ARM/vmla.ll index 84052182741..77cf10ad3e6 100644 --- a/llvm/test/CodeGen/ARM/vmla.ll +++ b/llvm/test/CodeGen/ARM/vmla.ll @@ -39,8 +39,8 @@ define <2 x float> @vmlaf32(<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 = 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 @@ define <4 x float> @vmlaQf32(<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 = 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 } |