repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added the ability to xfail based on llvmgcc version
[llvm-complete.git]
/
test
/
Transforms
/
InstCombine
/
vec_narrow.ll
blob
d5c7f854b8db879e7149ba8a5a62340006554421
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'add float'
2
3
%V = type <4 x float>
4
5
float %test(%V %A, %V %B, float %f) {
6
%C = insertelement %V %A, float %f, uint 0
7
%D = add %V %C, %B
8
%E = extractelement %V %D, uint 0
9
ret float %E
10
}
11