projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix getNode to allow a vector for the shift amount for shifts of vectors.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
vshift_split.ll
1
; RUN: llvm-as < %s | llc
2
3
; Example that requires splitting and expanding a vector shift.
4
define <2 x i64> @update(<2 x i64> %val) nounwind readnone {
5
entry:
6
%shr = lshr <2 x i64> %val, < i64 2, i64 2 > ; <<2 x i64>> [#uses=1]
7
ret <2 x i64> %shr
8
}