mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-02 00:42:52 +01:00
5bf464e1e6
llvm-svn: 48029
15 lines
305 B
LLVM
15 lines
305 B
LLVM
; RUN: llvm-as < %s | llc -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
|
|
}
|