1; RUN: opt < %s -instcombine -S | FileCheck %s
2; PR1933
3
4; CHECK: rem
5
6define i32 @fold(i32 %a) {
7  %s = mul i32 %a, 3
8  %c = urem i32 %s, 3
9  ret i32 %c
10}
11