blob: bf8477b7e6ddc746b5faee35e25401a31d8f4302 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=c | grep {\\* ((unsigned int )}
Dan Gohman5a11aba2008-07-18 18:43:12 +00002; 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}