aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/shift128.ll
blob: 8e518c12795ec5fd0be9f467861d81c5fe4a9c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; 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
}