1
; RUN: llc < %s -march=x86 > %t
2
; RUN: grep rol %t | count 3
3
; RUN: grep ror %t | count 1
4
; RUN: grep shld %t | count 2
5
; RUN: grep shrd %t | count 2
7
define i16 @foo(i16 %x, i16 %y, i16 %z) nounwind readnone {
16
define i16 @bar(i16 %x, i16 %y, i16 %z) nounwind readnone {
25
define i16 @un(i16 %x, i16 %y, i16 %z) nounwind readnone {
34
define i16 @bu(i16 %x, i16 %y, i16 %z) nounwind readnone {
43
define i16 @xfoo(i16 %x, i16 %y, i16 %z) nounwind readnone {
51
define i16 @xbar(i16 %x, i16 %y, i16 %z) nounwind readnone {
59
define i16 @xun(i16 %x, i16 %y, i16 %z) nounwind readnone {
67
define i16 @xbu(i16 %x, i16 %y, i16 %z) nounwind readnone {