blob: a16f91bfad89f1cec4f098f4a7edfe256ca03ab4 [file] [log] [blame]
Dan Gohman5a11aba2008-07-18 18:43:12 +00001; RUN: llvm-as < %s | llc -march=c | grep {\\* ((unsigned int )}
2; PR2408
3
4define i32 @a(i32 %a) {
5entry:
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}