Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 | grep {orl \$1} |
djg | 7cc04cd | 2009-01-24 17:32:54 +0000 | [diff] [blame] | 2 | ; PR3018 |
Dan Gohman | 86bf139 | 2009-01-19 21:44:21 +0000 | [diff] [blame] | 3 | |
4 | define i32 @test(i32 %A) nounwind { | ||||
5 | %B = or i32 %A, 1 | ||||
6 | %C = or i32 %B, 1 | ||||
7 | %D = and i32 %C, 7057 | ||||
8 | ret i32 %D | ||||
9 | } |