aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/a2q.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/a2q.ll')
-rw-r--r--test/CodeGen/PowerPC/a2q.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/a2q.ll b/test/CodeGen/PowerPC/a2q.ll
new file mode 100644
index 0000000000..b26480f08b
--- /dev/null
+++ b/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
+