1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/Transforms/InstCombine/vec_insertelt.ll

8 lines
179 B
LLVM
Raw Normal View History

; 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
}