| Dan Gohman | 103c4eb | 2010-07-16 02:01:19 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 -O0 | grep {sarl \$80, %e} |
| Dan Gohman | ab31635 | 2008-12-20 17:19:40 +0000 | [diff] [blame] | 2 | ; PR3242 |
| 3 | |||||
| Dan Gohman | 722f5fc | 2010-07-01 02:58:57 +0000 | [diff] [blame] | 4 | define void @foo(i32 %x, i32* %p) nounwind { |
| Dan Gohman | ab31635 | 2008-12-20 17:19:40 +0000 | [diff] [blame] | 5 | %y = ashr i32 %x, 50000 |
| Dan Gohman | 722f5fc | 2010-07-01 02:58:57 +0000 | [diff] [blame] | 6 | store i32 %y, i32* %p |
| 7 | ret void | ||||
| Dan Gohman | ab31635 | 2008-12-20 17:19:40 +0000 | [diff] [blame] | 8 | } |