llvm.org GIT mirror llvm / 5b05711 test / CodeGen / X86 / store-global-address.ll
5b05711

Tree @5b05711 (Download .tar.gz)

store-global-address.ll @5b05711raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=x86 | grep movl | count 1

@dst = global i32 0             ; <i32*> [#uses=1]
@ptr = global i32* null         ; <i32**> [#uses=1]

define void @test() {
        store i32* @dst, i32** @ptr
        ret void
}