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
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
CodeGen
/
PowerPC
/
shift128.ll
blob
8e518c12795ec5fd0be9f467861d81c5fe4a9c67
1
; RUN: llc < %s -march=ppc64 | grep sld | count 5
2
3
define i128 @foo_lshr(i128 %x, i128 %y) {
4
%r = lshr i128 %x, %y
5
ret i128 %r
6
}
7
define i128 @foo_ashr(i128 %x, i128 %y) {
8
%r = ashr i128 %x, %y
9
ret i128 %r
10
}
11
define i128 @foo_shl(i128 %x, i128 %y) {
12
%r = shl i128 %x, %y
13
ret i128 %r
14
}