summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/vec_insertelt.ll
blob: e35fa5e551fb140fd986a1c1b1ba79af74cb3916 (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
}