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/vadd.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/vadd.ll')
-rw-r--r-- | test/CodeGen/ARM/vadd.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/vadd.ll b/test/CodeGen/ARM/vadd.ll index 9fa530750a..9bb8bf5610 100644 --- a/test/CodeGen/ARM/vadd.ll +++ b/test/CodeGen/ARM/vadd.ll @@ -41,7 +41,7 @@ define <2 x float> @vaddf32(<2 x float>* %A, <2 x float>* %B) nounwind { ;CHECK: vadd.f32 %tmp1 = load <2 x float>* %A %tmp2 = load <2 x float>* %B - %tmp3 = add <2 x float> %tmp1, %tmp2 + %tmp3 = fadd <2 x float> %tmp1, %tmp2 ret <2 x float> %tmp3 } @@ -86,7 +86,7 @@ define <4 x float> @vaddQf32(<4 x float>* %A, <4 x float>* %B) nounwind { ;CHECK: vadd.f32 %tmp1 = load <4 x float>* %A %tmp2 = load <4 x float>* %B - %tmp3 = add <4 x float> %tmp1, %tmp2 + %tmp3 = fadd <4 x float> %tmp1, %tmp2 ret <4 x float> %tmp3 } |