blob: 5c62c1880516e58cf4225729be8a690569fa4001 [file] [log] [blame]
Dan Gohman103c4eb2010-07-16 02:01:19 +00001; RUN: llc < %s -march=x86 -O0 | grep {sarl \$80, %e}
Dan Gohmanab316352008-12-20 17:19:40 +00002; PR3242
3
Dan Gohman722f5fc2010-07-01 02:58:57 +00004define void @foo(i32 %x, i32* %p) nounwind {
Dan Gohmanab316352008-12-20 17:19:40 +00005 %y = ashr i32 %x, 50000
Dan Gohman722f5fc2010-07-01 02:58:57 +00006 store i32 %y, i32* %p
7 ret void
Dan Gohmanab316352008-12-20 17:19:40 +00008}