xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker@TestA = alias void (), void ()* @TestC
4*9880d681SAndroid Build Coastguard Worker@TestB = alias void (), void ()* @TestC
5*9880d681SAndroid Build Coastguard Worker@TestC = alias void (), void ()* @TestD
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Workerdefine void @TestD() {
8*9880d681SAndroid Build Coastguard Workerentry:
9*9880d681SAndroid Build Coastguard Worker  ret void
10*9880d681SAndroid Build Coastguard Worker}
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: TestD:
13*9880d681SAndroid Build Coastguard Worker; CHECK: TestC = TestD
14*9880d681SAndroid Build Coastguard Worker; CHECK-DAG: TestB = TestC
15*9880d681SAndroid Build Coastguard Worker; CHECK-DAG: TestA = TestC
16