1 ; In this case, the global can only be broken up by one level.
3 ; RUN: opt < %s -globalopt -S | not grep 12345
5 @G = internal global { i32, [4 x float] } zeroinitializer ; <{ i32, [4 x float] }*> [#uses=3]
7 define void @onlystore() {
8 store i32 12345, i32* getelementptr ({ i32, [4 x float] }* @G, i32 0, i32 0)
12 define void @storeinit(i32 %i) {
13 %Ptr = getelementptr { i32, [4 x float] }* @G, i32 0, i32 1, i32 %i ; <float*> [#uses=1]
14 store float 1.000000e+00, float* %Ptr
18 define float @readval(i32 %i) {
19 %Ptr = getelementptr { i32, [4 x float] }* @G, i32 0, i32 1, i32 %i ; <float*> [#uses=1]
20 %V = load float* %Ptr ; <float> [#uses=1]