Address issues found by Duncan during post-commit review of r177856.
[oota-llvm.git] / test / Transforms / InstCombine / 2008-01-06-CastCrash.ll
1 ; RUN: opt < %s -instcombine -disable-output
2
3 define <2 x i32> @f() {
4         ret <2 x i32> undef
5 }
6
7 define i32 @g() {
8         %x = call i32 bitcast (<2 x i32> ()* @f to i32 ()*)( )          ; <i32> [#uses=1]
9         ret i32 %x
10 }