fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.git] / test / Transforms / InstCombine / 2004-05-07-UnsizedCastLoad.ll
blob8b549374a70ca539581b34209e97d8b6db11311c
1 ; RUN: opt < %s -instcombine -disable-output
3 %Ty = type opaque
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