summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2016-03-31 22:32:10 +0000
committerTim Shen <timshen91@gmail.com>2016-03-31 22:32:10 +0000
commit2e24d0c0c1071eb873b30dd8b6d62b0153a959e5 (patch)
treef9981dab0508f88d97c67f558d6d7d60c6bc33b1 /llvm/test/CodeGen/PowerPC
parenta69d9e5aabb400503b267bd5b88f7a1e1cd3a0b9 (diff)
downloadbcm5719-llvm-2e24d0c0c1071eb873b30dd8b6d62b0153a959e5.tar.gz
bcm5719-llvm-2e24d0c0c1071eb873b30dd8b6d62b0153a959e5.zip
Move asm-printer-topological-order.ll to PowerPC backend
llvm-svn: 265067
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll b/llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll
new file mode 100644
index 00000000000..e1e62da4dbc
--- /dev/null
+++ b/llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll
@@ -0,0 +1,15 @@
+; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
+
+@TestA = alias void (), void ()* @TestC
+@TestB = alias void (), void ()* @TestC
+@TestC = alias void (), void ()* @TestD
+
+define void @TestD() {
+entry:
+ ret void
+}
+
+; CHECK-LABEL: TestD:
+; CHECK: TestC = TestD
+; CHECK-DAG: TestB = TestC
+; CHECK-DAG: TestA = TestC
OpenPOWER on IntegriCloud