diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2012-09-17 14:10:54 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2012-09-17 14:10:54 +0000 |
commit | c8bf0f86624f025ca7c2b5cfc35ef3fb904a3930 (patch) | |
tree | 03fecf073201c40d6287f242fa4735c58bbfcdb4 /test/CodeGen/ARM/a15-mla.ll | |
parent | a52c3acc14062a7c2220cedb9f75531bf730eda8 (diff) | |
download | llvm-c8bf0f86624f025ca7c2b5cfc35ef3fb904a3930.tar.gz llvm-c8bf0f86624f025ca7c2b5cfc35ef3fb904a3930.tar.bz2 llvm-c8bf0f86624f025ca7c2b5cfc35ef3fb904a3930.tar.xz |
Removed the VMLxForwarding feature for the Cortex-A15 target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/a15-mla.ll')
-rw-r--r-- | test/CodeGen/ARM/a15-mla.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/a15-mla.ll b/test/CodeGen/ARM/a15-mla.ll new file mode 100644 index 0000000000..25f6de4762 --- /dev/null +++ b/test/CodeGen/ARM/a15-mla.ll @@ -0,0 +1,12 @@ +; RUN: llc < %s -march=arm -float-abi=hard -mcpu=cortex-a15 -mattr=+neon,+neonfp | FileCheck %s + +; This test checks that the VMLxForwarting feature is disabled for A15. +; CHECK: fun_a +define <4 x i32> @fun_a(<4 x i32> %x, <4 x i32> %y) nounwind{ + %1 = add <4 x i32> %x, %y +; CHECK-NOT: vmul +; CHECK: vmla + %2 = mul <4 x i32> %1, %1 + %3 = add <4 x i32> %y, %2 + ret <4 x i32> %3 +} |