mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
fce288fc91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
295 B
LLVM
15 lines
295 B
LLVM
; RUN: llc < %s -march=ppc64 | grep sld | count 5
|
|
|
|
define i128 @foo_lshr(i128 %x, i128 %y) {
|
|
%r = lshr i128 %x, %y
|
|
ret i128 %r
|
|
}
|
|
define i128 @foo_ashr(i128 %x, i128 %y) {
|
|
%r = ashr i128 %x, %y
|
|
ret i128 %r
|
|
}
|
|
define i128 @foo_shl(i128 %x, i128 %y) {
|
|
%r = shl i128 %x, %y
|
|
ret i128 %r
|
|
}
|