1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s
3
4define i8 @foo(i8 %tmp325) {
5; CHECK-LABEL: foo:
6; CHECK:       # BB#0:
7; CHECK-NEXT:    movzbl {{[0-9]+}}(%esp), %ecx
8; CHECK-NEXT:    imull $111, %ecx, %eax
9; CHECK-NEXT:    andl $28672, %eax # imm = 0x7000
10; CHECK-NEXT:    shrl $12, %eax
11; CHECK-NEXT:    movb $37, %dl
12; CHECK-NEXT:    # kill: %AL<def> %AL<kill> %EAX<kill>
13; CHECK-NEXT:    mulb %dl
14; CHECK-NEXT:    subb %al, %cl
15; CHECK-NEXT:    movl %ecx, %eax
16; CHECK-NEXT:    retl
17;
18  %t546 = urem i8 %tmp325, 37
19  ret i8 %t546
20}
21
22