summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-01-30 21:17:42 +0000
committerHal Finkel <hfinkel@anl.gov>2013-01-30 21:17:42 +0000
commitefb305e54c9290397b656ec978f526f7ba27b3a0 (patch)
tree966fc7bffadd4f430103f5da6148b355da120c1f /llvm/test/CodeGen/PowerPC
parent0b85ba7d9e61a49425f3bea012ef8295d9d83e31 (diff)
downloadbcm5719-llvm-efb305e54c9290397b656ec978f526f7ba27b3a0.tar.gz
bcm5719-llvm-efb305e54c9290397b656ec978f526f7ba27b3a0.zip
Add definitions for the PPC a2q core marked as having QPX available
This is the first commit of a large series which will add support for the QPX vector instruction set to the PowerPC backend. This instruction set is used on the IBM Blue Gene/Q supercomputers. llvm-svn: 173973
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/a2q.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/a2q.ll b/llvm/test/CodeGen/PowerPC/a2q.ll
new file mode 100644
index 00000000000..b26480f08b3
--- /dev/null
+++ b/llvm/test/CodeGen/PowerPC/a2q.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc < %s -march=ppc64 -mcpu=a2 -mattr=+qpx | FileCheck %s
+
+define void @foo() {
+entry:
+ ret void
+}
+
+; CHECK: @foo
+
OpenPOWER on IntegriCloud