repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git]
/
test
/
CodeGen
/
PowerPC
/
vec_insert.ll
blob
185454cbd31df67a15b0e94e834d50d9e522c1fb
1
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep sth
2
3
define <8 x i16> @insert(<8 x i16> %foo, i16 %a) nounwind {
4
entry:
5
%vecext = insertelement <8 x i16> %foo, i16 %a, i32 7 ; <i8> [#uses=1]
6
ret <8 x i16> %vecext
7
}
8