projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
optimize away stackrestore calls that have no intervening alloca or call.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2006-03-30-ExtractElement.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
2
3
float %test(<4 x float> %V) {
4
%V2 = insertelement <4 x float> %V, float 1.0, uint 3
5
%R = extractelement <4 x float> %V2, uint 2
6
ret float %R
7
}