xref: /aosp_15_r20/external/llvm/test/Transforms/InstCombine/2008-01-06-CastCrash.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: opt < %s -instcombine -disable-output
2
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}
11