summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll
blob: e1e62da4dbc2c5e6ac8e7a7d9090a2e98babd12a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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