1 ; Test that hoisting is disabled for pointers of different types... 2 ; 3 ; RUN: opt < %s -licm 4 5 define void @test(i32* %P) { 6 br label %Loop 7 Loop: ; preds = %Loop, %0 8 store i32 5, i32* %P 9 %P2 = bitcast i32* %P to i8* ; <i8*> [#uses=1] 10 store i8 4, i8* %P2 11 br i1 true, label %Loop, label %Out 12 Out: ; preds = %Loop 13 ret void 14 } 15 16