repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
vshift_scalar.ll
blob
9dd8478caaed4f86e2c9d34ee9d9653e72cd68b1
1
; RUN: llc < %s
2
3
; Legalization test that requires scalarizing a vector.
4
5
define void @update(<1 x i32> %val, <1 x i32>* %dst) nounwind {
6
entry:
7
%shl = shl <1 x i32> %val, < i32 2>
8
%shr = ashr <1 x i32> %val, < i32 4>
9
store <1 x i32> %shr, <1 x i32>* %dst
10
ret void
11
}