blob: edcfeb78a4d0c2858d0160739ee34b092351e844 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 | grep {orl \$1}
djg7cc04cd2009-01-24 17:32:54 +00002; PR3018
Dan Gohman86bf1392009-01-19 21:44:21 +00003
4define 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}