1 ; RUN: opt < %s -instcombine -S | not grep zext
4 define i8 @udiv_i8(i8 %a, i8 %b) nounwind {
5 %conv = zext i8 %a to i32
6 %conv2 = zext i8 %b to i32
7 %div = udiv i32 %conv, %conv2
8 %conv3 = trunc i32 %div to i8
12 define i8 @urem_i8(i8 %a, i8 %b) nounwind {
13 %conv = zext i8 %a to i32
14 %conv2 = zext i8 %b to i32
15 %div = urem i32 %conv, %conv2
16 %conv3 = trunc i32 %div to i8