2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=ppc64 | grep sld | count 5
|
2008-03-08 04:36:53 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|