new testcase for PR1286

llvm-svn: 35787
This commit is contained in:
Chris Lattner 2007-04-09 01:10:13 +00:00
parent ae39ca037a
commit 418bf4eb1c
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | 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
}