1 ; RUN: opt < %s -instcombine -disable-output 2 3 %Ty = type opaque 4 5 define i32 @test(%Ty* %X) { 6 %Y = bitcast %Ty* %X to i32* ; <i32*> [#uses=1] 7 %Z = load i32* %Y ; <i32> [#uses=1] 8 ret i32 %Z 9 } 10 11