blob: 097a0ce849d05a2ab0eca24d90be9520bd11dced [file] [log] [blame]
Dan Gohman18800922009-09-11 18:01:28 +00001; RUN: opt < %s -instcombine -disable-output
Duncan Sands55e50902008-01-06 10:12:28 +00002
3define <2 x i32> @f() {
4 ret <2 x i32> undef
5}
6
7define i32 @g() {
8 %x = call i32 bitcast (<2 x i32> ()* @f to i32 ()*)( ) ; <i32> [#uses=1]
9 ret i32 %x
10}