[InstCombine] transform more extract/insert pairs into shuffles (PR2109)
[oota-llvm.git] / test / Transforms / InstCombine / vec_insertelt.ll
1 ; RUN: opt < %s -instcombine -S | FileCheck %s
2 ; CHECK: ret <4 x i32> %A
3
4 ; PR1286
5 define <4 x i32> @test1(<4 x i32> %A) {
6         %B = insertelement <4 x i32> %A, i32 undef, i32 1
7         ret <4 x i32> %B
8 }