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 | 7bd29146833d1bb18e537db18eaa339720ee651f (patch) | |
tree | 9621330a79a88ba997de8c78ee6b8af1cf313eed /llvm/test/CodeGen/ARM/a15-mla.ll | |
parent | 86af62c1ad8beda4a897de7732c9776de09dd988 (diff) | |
download | bcm5719-llvm-7bd29146833d1bb18e537db18eaa339720ee651f.tar.gz bcm5719-llvm-7bd29146833d1bb18e537db18eaa339720ee651f.zip |
Removed the VMLxForwarding feature for the Cortex-A15 target.
llvm-svn: 164030
Diffstat (limited to 'llvm/test/CodeGen/ARM/a15-mla.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/a15-mla.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/a15-mla.ll b/llvm/test/CodeGen/ARM/a15-mla.ll new file mode 100644 index 00000000000..25f6de4762d --- /dev/null +++ b/llvm/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 +} |