1 ; RUN: opt < %s -passes=sccp -S | not grep %X
3 @G = global [1000000 x i10000] zeroinitializer
5 define internal ptr @test(i10000 %Arg) {
6 %X = getelementptr [1000000 x i10000], ptr @G, i32 0, i32 999
7 store i10000 %Arg, ptr %X
11 define i10000 @caller()
13 %Y = call ptr @test(i10000 -1)
14 %Z = load i10000, ptr %Y
18 define i10000 @caller2()
20 %Y = call ptr @test(i10000 1)
21 %Z = load i10000, ptr %Y