1 ; RUN: llc < %s -mtriple=x86_64-linux -relocation-model=static | FileCheck %s
3 @ptr = dso_local global ptr null
4 @dst = dso_local global [131072 x i32] zeroinitializer
6 define dso_local void @foo() nounwind {
7 ; This store should fold to a single mov instruction.
8 ; CHECK: movq $dst+64, ptr(%rip)
9 store ptr getelementptr ([131072 x i32], ptr @dst, i32 0, i32 16), ptr @ptr