aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/alias-use-list-order.ll
blob: a345dde1c79aa133ec33b31c84d887686284fdf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: verify-uselistorder < %s

; Globals.
@global = global i32 0
@alias.ref1 = global ptr getelementptr inbounds (i32, ptr @alias, i64 1)
@alias.ref2 = global ptr getelementptr inbounds (i32, ptr @alias, i64 1)

; Aliases.
@alias = alias i32, ptr @global
@alias.ref3 = alias i32, getelementptr inbounds (i32, ptr @alias, i64 1)
@alias.ref4 = alias i32, getelementptr inbounds (i32, ptr @alias, i64 1)