xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/store-global-address.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=x86 | grep movl | count 1
2
3@dst = global i32 0             ; <i32*> [#uses=1]
4@ptr = global i32* null         ; <i32**> [#uses=1]
5
6define void @test() {
7        store i32* @dst, i32** @ptr
8        ret void
9}
10
11