blob: ba84711c03eb1411a05916c5e376830d23f4ee3e [file] [log] [blame]
Dan Gohman86bf1392009-01-19 21:44:21 +00001; RUN: llvm-as < %s | llc -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}