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/vneg.ll | |
parent | b4c14aaa50b58ac723d0ed179695e1cd7296572a (diff) | |
download | external_llvm-d4d01154ef0cb9d84d1c1c342ec9d3115d932e99.zip external_llvm-d4d01154ef0cb9d84d1c1c342ec9d3115d932e99.tar.gz external_llvm-d4d01154ef0cb9d84d1c1c342ec9d3115d932e99.tar.bz2 |
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/vneg.ll')
-rw-r--r-- | test/CodeGen/ARM/vneg.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/vneg.ll b/test/CodeGen/ARM/vneg.ll index 7764e87..4a10732 100644 --- a/test/CodeGen/ARM/vneg.ll +++ b/test/CodeGen/ARM/vneg.ll @@ -28,7 +28,7 @@ define <2 x float> @vnegf32(<2 x float>* %A) nounwind { ;CHECK: vnegf32: ;CHECK: vneg.f32 %tmp1 = load <2 x float>* %A - %tmp2 = sub <2 x float> < float -0.000000e+00, float -0.000000e+00 >, %tmp1 + %tmp2 = fsub <2 x float> < float -0.000000e+00, float -0.000000e+00 >, %tmp1 ret <2 x float> %tmp2 } @@ -60,7 +60,7 @@ define <4 x float> @vnegQf32(<4 x float>* %A) nounwind { ;CHECK: vnegQf32: ;CHECK: vneg.f32 %tmp1 = load <4 x float>* %A - %tmp2 = sub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %tmp1 + %tmp2 = fsub <4 x float> < float -0.000000e+00, float -0.000000e+00, float -0.000000e+00, float -0.000000e+00 >, %tmp1 ret <4 x float> %tmp2 } |