1 ; RUN: llvm-as < %s | llc -march=x86 > %t
4 ; RUN: grep mov %t | count 1
5 ; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static > %t
8 ; RUN: grep mov %t | count 1
10 ; This store should fold to a single mov instruction.
12 @ptr = global i32* null
13 @dst = global [131072 x i32] zeroinitializer
15 define void @foo() nounwind {
16 store i32* getelementptr ([131072 x i32]* @dst, i32 0, i32 16), i32** @ptr