1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 define i32 @t1(i16 zeroext %x, i32 %y) nounwind {
7 ; CHECK: lshr i32 %conv
8 %conv = zext i16 %x to i32
10 %d = sdiv i32 %conv, %s
15 define i64 @t2(i64 %x, i32 %y) nounwind {
20 %2 = zext i32 %1 to i64