1 ; RUN: opt < %s -scalarrepl -instcombine -S | not grep alloca
5 %X = alloca [4 x i32] ; <[4 x i32]*> [#uses=1]
7 %Y = getelementptr [4 x i32]* %X, i64 0, i64 6 ; <i32*> [#uses=2]
9 %Z = load i32* %Y ; <i32> [#uses=1]
14 define i32 @test2() nounwind {
16 %yx2.i = alloca float, align 4 ; <float*> [#uses=1]
17 %yx26.i = bitcast float* %yx2.i to i64* ; <i64*> [#uses=1]
18 %0 = load i64* %yx26.i, align 8 ; <i64> [#uses=0]