1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-21 16:31:16 +00:00
llvm-6502/test/CodeGen/PowerPC/shift128.ll
2008-03-07 20:36:53 +00:00

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
}