aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/vtrn.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/vtrn.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/vtrn.ll')
-rw-r--r--test/CodeGen/ARM/vtrn.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/vtrn.ll b/test/CodeGen/ARM/vtrn.ll
index 5122b09..10bb10a 100644
--- a/test/CodeGen/ARM/vtrn.ll
+++ b/test/CodeGen/ARM/vtrn.ll
@@ -44,7 +44,7 @@ define <2 x float> @vtrnf(<2 x float>* %A, <2 x float>* %B) nounwind {
%tmp2 = load <2 x float>* %B
%tmp3 = shufflevector <2 x float> %tmp1, <2 x float> %tmp2, <2 x i32> <i32 0, i32 2>
%tmp4 = shufflevector <2 x float> %tmp1, <2 x float> %tmp2, <2 x i32> <i32 1, i32 3>
- %tmp5 = add <2 x float> %tmp3, %tmp4
+ %tmp5 = fadd <2 x float> %tmp3, %tmp4
ret <2 x float> %tmp5
}
@@ -92,6 +92,6 @@ define <4 x float> @vtrnQf(<4 x float>* %A, <4 x float>* %B) nounwind {
%tmp2 = load <4 x float>* %B
%tmp3 = shufflevector <4 x float> %tmp1, <4 x float> %tmp2, <4 x i32> <i32 0, i32 4, i32 2, i32 6>
%tmp4 = shufflevector <4 x float> %tmp1, <4 x float> %tmp2, <4 x i32> <i32 1, i32 5, i32 3, i32 7>
- %tmp5 = add <4 x float> %tmp3, %tmp4
+ %tmp5 = fadd <4 x float> %tmp3, %tmp4
ret <4 x float> %tmp5
}