summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll
blob: 6299b4e393d9e222c16f92b8fb6847515be89a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s

@TestA = alias void (), ptr @TestC
@TestB = alias void (), ptr @TestC
@TestC = alias void (), ptr @TestD

define void @TestD() {
entry:
  ret void
}

; CHECK-LABEL: TestD:
; CHECK: .set TestC, TestD
; CHECK-DAG: .set TestB, TestC
; CHECK-DAG: .set TestA, TestC