aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/vld4.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/vld4.ll
parentb4c14aaa50b58ac723d0ed179695e1cd7296572a (diff)
downloadexternal_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/vld4.ll')
-rw-r--r--test/CodeGen/ARM/vld4.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/vld4.ll b/test/CodeGen/ARM/vld4.ll
index e800cb5..e0b8706 100644
--- a/test/CodeGen/ARM/vld4.ll
+++ b/test/CodeGen/ARM/vld4.ll
@@ -50,7 +50,7 @@ define <2 x float> @vld4f(float* %A) nounwind {
%tmp1 = call %struct.__neon_float32x2x4_t @llvm.arm.neon.vld4.v2f32(i8* %tmp0)
%tmp2 = extractvalue %struct.__neon_float32x2x4_t %tmp1, 0
%tmp3 = extractvalue %struct.__neon_float32x2x4_t %tmp1, 2
- %tmp4 = add <2 x float> %tmp2, %tmp3
+ %tmp4 = fadd <2 x float> %tmp2, %tmp3
ret <2 x float> %tmp4
}
@@ -108,7 +108,7 @@ define <4 x float> @vld4Qf(float* %A) nounwind {
%tmp1 = call %struct.__neon_float32x4x4_t @llvm.arm.neon.vld4.v4f32(i8* %tmp0)
%tmp2 = extractvalue %struct.__neon_float32x4x4_t %tmp1, 0
%tmp3 = extractvalue %struct.__neon_float32x4x4_t %tmp1, 2
- %tmp4 = add <4 x float> %tmp2, %tmp3
+ %tmp4 = fadd <4 x float> %tmp2, %tmp3
ret <4 x float> %tmp4
}