blob: cf5b3fc6ff0c475fe99e88d8ab52da213d897f8d [file] [log] [blame]
Dan Gohman9ed06db2008-03-07 20:36:53 +00001; RUN: llvm-as < %s | llc -march=ppc64 | grep sld | count 5
2
3define i128 @foo_lshr(i128 %x, i128 %y) {
4 %r = lshr i128 %x, %y
5 ret i128 %r
6}
7define i128 @foo_ashr(i128 %x, i128 %y) {
8 %r = ashr i128 %x, %y
9 ret i128 %r
10}
11define i128 @foo_shl(i128 %x, i128 %y) {
12 %r = shl i128 %x, %y
13 ret i128 %r
14}