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 | d4d01154ef0cb9d84d1c1c342ec9d3115d932e99 (patch) | |
tree | 1f238baeb9cd6c7982cf1c5d0aa7f6d7a06f6078 /test/CodeGen/ARM/vmul.ll | |
parent | b4c14aaa50b58ac723d0ed179695e1cd7296572a (diff) | |
download | llvm-d4d01154ef0cb9d84d1c1c342ec9d3115d932e99.tar.gz llvm-d4d01154ef0cb9d84d1c1c342ec9d3115d932e99.tar.bz2 llvm-d4d01154ef0cb9d84d1c1c342ec9d3115d932e99.tar.xz |
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/vmul.ll')
-rw-r--r-- | test/CodeGen/ARM/vmul.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/vmul.ll b/test/CodeGen/ARM/vmul.ll index 325da5deab..1d91680212 100644 --- a/test/CodeGen/ARM/vmul.ll +++ b/test/CodeGen/ARM/vmul.ll @@ -32,7 +32,7 @@ define <2 x float> @vmulf32(<2 x float>* %A, <2 x float>* %B) nounwind { ;CHECK: vmul.f32 %tmp1 = load <2 x float>* %A %tmp2 = load <2 x float>* %B - %tmp3 = mul <2 x float> %tmp1, %tmp2 + %tmp3 = fmul <2 x float> %tmp1, %tmp2 ret <2 x float> %tmp3 } @@ -77,7 +77,7 @@ define <4 x float> @vmulQf32(<4 x float>* %A, <4 x float>* %B) nounwind { ;CHECK: vmul.f32 %tmp1 = load <4 x float>* %A %tmp2 = load <4 x float>* %B - %tmp3 = mul <4 x float> %tmp1, %tmp2 + %tmp3 = fmul <4 x float> %tmp1, %tmp2 ret <4 x float> %tmp3 } |