Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-linux -relocation-model=static | FileCheck %s
      2 
      3 @ptr = global i32* null
      4 @dst = global [131072 x i32] zeroinitializer
      5 
      6 define void @foo() nounwind {
      7 ; This store should fold to a single mov instruction.
      8 ; CHECK: movq    $dst+64, ptr(%rip)
      9   store i32* getelementptr ([131072 x i32], [131072 x i32]* @dst, i32 0, i32 16), i32** @ptr
     10   ret void
     11 }
     12