1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/Transforms/InstCombine/2006-03-30-ExtractElement.ll
Chris Lattner f56ee2961c new testcase that crashes instcombine
llvm-svn: 27260
2006-03-30 22:01:08 +00:00

8 lines
202 B
LLVM

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