diff options
author | Tim Northover <tnorthover@apple.com> | 2014-04-16 15:28:02 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-04-16 15:28:02 +0000 |
commit | f539725734a15ffcc7018cb101d6b5aa207792aa (patch) | |
tree | 823fca6d1f059c5165dae714dd62d9d89d44ed98 /test/CodeGen/AArch64 | |
parent | 9a8aff0062024427c6f53482abbe3a43d9b5f174 (diff) | |
download | llvm-f539725734a15ffcc7018cb101d6b5aa207792aa.tar.gz llvm-f539725734a15ffcc7018cb101d6b5aa207792aa.tar.bz2 llvm-f539725734a15ffcc7018cb101d6b5aa207792aa.tar.xz |
AArch64/ARM64: port some NEON tests to ARM64
These ones used completely different sets of intrinsics, so the only way to do
it is create a separate ARM64 copy and change them all.
Other than that, CodeGen was straightforward, no deficiencies detected here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/AArch64')
-rw-r--r-- | test/CodeGen/AArch64/neon-2velem-high.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/AArch64/neon-2velem.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/AArch64/neon-3vdiff.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/AArch64/neon-aba-abd.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/AArch64/neon-across.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/AArch64/neon-add-pairwise.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/AArch64/neon-add-sub.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/AArch64/neon-bitcast.ll | 1 |
8 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGen/AArch64/neon-2velem-high.ll b/test/CodeGen/AArch64/neon-2velem-high.ll index 97031d98b7..ebdb5b7132 100644 --- a/test/CodeGen/AArch64/neon-2velem-high.ll +++ b/test/CodeGen/AArch64/neon-2velem-high.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon -fp-contract=fast | FileCheck %s - +; arm64 has copied test in its directory due to differing intrinsics. declare <2 x float> @llvm.fma.v2f32(<2 x float>, <2 x float>, <2 x float>) declare <4 x float> @llvm.fma.v4f32(<4 x float>, <4 x float>, <4 x float>) diff --git a/test/CodeGen/AArch64/neon-2velem.ll b/test/CodeGen/AArch64/neon-2velem.ll index acffb14edf..b9d0e84f16 100644 --- a/test/CodeGen/AArch64/neon-2velem.ll +++ b/test/CodeGen/AArch64/neon-2velem.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon -fp-contract=fast | FileCheck %s +; arm64 has copied test in its directory due to differing intrinsics. declare <2 x double> @llvm.aarch64.neon.vmulx.v2f64(<2 x double>, <2 x double>) diff --git a/test/CodeGen/AArch64/neon-3vdiff.ll b/test/CodeGen/AArch64/neon-3vdiff.ll index 96400eb303..dbe2a726b9 100644 --- a/test/CodeGen/AArch64/neon-3vdiff.ll +++ b/test/CodeGen/AArch64/neon-3vdiff.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s +; arm64 has its own copy of this test in its directory. declare <8 x i16> @llvm.arm.neon.vmullp.v8i16(<8 x i8>, <8 x i8>) diff --git a/test/CodeGen/AArch64/neon-aba-abd.ll b/test/CodeGen/AArch64/neon-aba-abd.ll index 54009849ef..1fe52565af 100644 --- a/test/CodeGen/AArch64/neon-aba-abd.ll +++ b/test/CodeGen/AArch64/neon-aba-abd.ll @@ -1,4 +1,5 @@ ; RUN: llc -mtriple=aarch64-none-linux-gnu -mattr=+neon < %s | FileCheck %s +; arm64 has copied test in its own directory (different intrinsic names). declare <8 x i8> @llvm.arm.neon.vabdu.v8i8(<8 x i8>, <8 x i8>) declare <8 x i8> @llvm.arm.neon.vabds.v8i8(<8 x i8>, <8 x i8>) diff --git a/test/CodeGen/AArch64/neon-across.ll b/test/CodeGen/AArch64/neon-across.ll index 6d30c95302..98444d29a0 100644 --- a/test/CodeGen/AArch64/neon-across.ll +++ b/test/CodeGen/AArch64/neon-across.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s +; arm64 has copied test in its own directory. declare float @llvm.aarch64.neon.vminnmv(<4 x float>) diff --git a/test/CodeGen/AArch64/neon-add-pairwise.ll b/test/CodeGen/AArch64/neon-add-pairwise.ll index 26f9147748..d304094adb 100644 --- a/test/CodeGen/AArch64/neon-add-pairwise.ll +++ b/test/CodeGen/AArch64/neon-add-pairwise.ll @@ -1,4 +1,5 @@ ; RUN: llc -mtriple=aarch64-none-linux-gnu -mattr=+neon < %s | FileCheck %s +; arm64 has a copy of this test in its own directory. declare <8 x i8> @llvm.arm.neon.vpadd.v8i8(<8 x i8>, <8 x i8>) diff --git a/test/CodeGen/AArch64/neon-add-sub.ll b/test/CodeGen/AArch64/neon-add-sub.ll index 25d2dcb7ce..eebad4df10 100644 --- a/test/CodeGen/AArch64/neon-add-sub.ll +++ b/test/CodeGen/AArch64/neon-add-sub.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s +; arm64 has its own copy of this test define <8 x i8> @add8xi8(<8 x i8> %A, <8 x i8> %B) { ;CHECK: add {{v[0-9]+}}.8b, {{v[0-9]+}}.8b, {{v[0-9]+}}.8b diff --git a/test/CodeGen/AArch64/neon-bitcast.ll b/test/CodeGen/AArch64/neon-bitcast.ll index 61099d48fd..25819b3793 100644 --- a/test/CodeGen/AArch64/neon-bitcast.ll +++ b/test/CodeGen/AArch64/neon-bitcast.ll @@ -1,4 +1,5 @@ ; RUN: llc -mtriple=aarch64-none-linux-gnu -mattr=+neon -verify-machineinstrs < %s | FileCheck %s +; RUN: llc -mtriple=arm64-none-linux-gnu -mattr=+neon -verify-machineinstrs < %s | FileCheck %s ; From <8 x i8> |