llvm.org GIT mirror llvm / master test / CodeGen / PowerPC / asm-printer-topological-order.ll
master

Tree @master (Download .tar.gz)

asm-printer-topological-order.ll @masterraw · history · blame

; RUN: llc -verify-machineinstrs -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: .set TestC, TestD
; CHECK-DAG: .set TestB, TestC
; CHECK-DAG: .set TestA, TestC