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