InstCombine: Match min/max hidden by sext/zext
[oota-llvm.git] / test / Transforms / InstCombine / 2008-02-13-MulURem.ll
1 ; RUN: opt < %s -instcombine -S | grep rem
2 ; PR1933
3
4 define i32 @fold(i32 %a) {
5   %s = mul i32 %a, 3
6   %c = urem i32 %s, 3
7   ret i32 %c
8 }