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 i32 @foo(i32 %x, i32 %y, i32 %z) nounwind readnone {
16
define i32 @bar(i32 %x, i32 %y, i32 %z) nounwind readnone {
25
define i32 @un(i32 %x, i32 %y, i32 %z) nounwind readnone {
34
define i32 @bu(i32 %x, i32 %y, i32 %z) nounwind readnone {
43
define i32 @xfoo(i32 %x, i32 %y, i32 %z) nounwind readnone {
51
define i32 @xbar(i32 %x, i32 %y, i32 %z) nounwind readnone {
59
define i32 @xun(i32 %x, i32 %y, i32 %z) nounwind readnone {
67
define i32 @xbu(i32 %x, i32 %y, i32 %z) nounwind readnone {