Change -arm-divmod-libcall to a target neutral option.
[oota-llvm.git] / test / CodeGen / CBackend / pr2408.ll
1 ; RUN: llc < %s -march=c | grep {\\* ((unsigned int )}
2 ; PR2408
3
4 define i32 @a(i32 %a) {
5 entry:
6         %shr = ashr i32 %a, 0           ; <i32> [#uses=1]
7         %shr2 = ashr i32 2, 0           ; <i32> [#uses=1]
8         %mul = mul i32 %shr, %shr2              ; <i32> [#uses=1]
9         %shr4 = ashr i32 2, 0           ; <i32> [#uses=1]
10         %div = sdiv i32 %mul, %shr4             ; <i32> [#uses=1]
11         ret i32 %div
12 }