YouCompleteMe/cpp/llvm/test/CodeGen/X86/store-global-address.ll

11 lines
232 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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
}