fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.git] / test / Transforms / InstCombine / 2008-01-06-CastCrash.ll
blob097a0ce849d05a2ab0eca24d90be9520bd11dced
1 ; RUN: opt < %s -instcombine -disable-output
3 define <2 x i32> @f() {
4         ret <2 x i32> undef
7 define i32 @g() {
8         %x = call i32 bitcast (<2 x i32> ()* @f to i32 ()*)( )          ; <i32> [#uses=1]
9         ret i32 %x