summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/vneg.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-03 22:36:46 +0000
committerDan Gohman <gohman@apple.com>2010-05-03 22:36:46 +0000
commitd4d01154ef0cb9d84d1c1c342ec9d3115d932e99 (patch)
tree1f238baeb9cd6c7982cf1c5d0aa7f6d7a06f6078 /test/CodeGen/ARM/vneg.ll
parentb4c14aaa50b58ac723d0ed179695e1cd7296572a (diff)
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.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/vneg.ll b/test/CodeGen/ARM/vneg.ll
index 7764e87c6ac..4a10732458e 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
}