repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2006-03-30-ExtractElement.ll
blob
00c531a2c07176dee12aa118e5c80f7d31ca79c6
1
; RUN: opt < %s -passes=instcombine -disable-output
2
3
define float @test(<4 x float> %V) {
4
%V2 = insertelement <4 x float> %V, float 1.000000e+00, i32 3 ; <<4 x float>> [#uses=1]
5
%R = extractelement <4 x float> %V2, i32 2 ; <float> [#uses=1]
6
ret float %R
7
}
8