aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/vec_insertelt.ll
blob: 2ebf3ff3a72ca49862e30bcb662315a1df4b9dbf (plain)
1
2
3
4
5
6
7
; RUN: opt %s -instcombine -S | grep {ret <4 x i32> %A}

; PR1286
define <4 x i32> @test1(<4 x i32> %A) {
	%B = insertelement <4 x i32> %A, i32 undef, i32 1
	ret <4 x i32> %B
}