summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/vld2.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
commit0553acff5ed02cd1646d407ac4dc001ce6fb5c32 (patch)
tree53546d1c38422a7d244b47e8f05b7553a8679f79 /llvm/test/CodeGen/ARM/vld2.ll
parent1e679cbfffe326b813cc66c969560ff8868d5cf2 (diff)
downloadbcm5719-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/vld2.ll')
-rw-r--r--llvm/test/CodeGen/ARM/vld2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/vld2.ll b/llvm/test/CodeGen/ARM/vld2.ll
index f5dc06cb302..0838636ce74 100644
--- a/llvm/test/CodeGen/ARM/vld2.ll
+++ b/llvm/test/CodeGen/ARM/vld2.ll
@@ -50,7 +50,7 @@ define <2 x float> @vld2f(float* %A) nounwind {
%tmp1 = call %struct.__neon_float32x2x2_t @llvm.arm.neon.vld2.v2f32(i8* %tmp0)
%tmp2 = extractvalue %struct.__neon_float32x2x2_t %tmp1, 0
%tmp3 = extractvalue %struct.__neon_float32x2x2_t %tmp1, 1
- %tmp4 = add <2 x float> %tmp2, %tmp3
+ %tmp4 = fadd <2 x float> %tmp2, %tmp3
ret <2 x float> %tmp4
}
@@ -104,7 +104,7 @@ define <4 x float> @vld2Qf(float* %A) nounwind {
%tmp1 = call %struct.__neon_float32x4x2_t @llvm.arm.neon.vld2.v4f32(i8* %tmp0)
%tmp2 = extractvalue %struct.__neon_float32x4x2_t %tmp1, 0
%tmp3 = extractvalue %struct.__neon_float32x4x2_t %tmp1, 1
- %tmp4 = add <4 x float> %tmp2, %tmp3
+ %tmp4 = fadd <4 x float> %tmp2, %tmp3
ret <4 x float> %tmp4
}
OpenPOWER on IntegriCloud