1 ; RUN: opt %s -instcombine -mem2reg | llvm-dis | \
4 define i32 @test1(i32* %P) {
5 %A = alloca i32 ; <i32*> [#uses=2]
7 ; Cast the result of the load not the source
8 %Q = bitcast i32* %A to i32* ; <i32*> [#uses=1]
9 %V = load i32* %Q ; <i32> [#uses=1]