new testcase that crashes instcombine

llvm-svn: 27260
This commit is contained in:
Chris Lattner 2006-03-30 22:01:08 +00:00
parent 7e2ff11a42
commit dab5696f84
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
; RUN: llvm-as < %s | opt -instcombine -disable-output
float %test(<4 x float> %V) {
%V2 = insertelement <4 x float> %V, float 1.0, uint 3
%R = extractelement <4 x float> %V2, uint 2
ret float %R
}