blob: 7d335ee2f6dea5a5333aa55eac5a8b5dcc5a18c0 [file] [log] [blame]
Dan Gohmandbe664a2009-01-19 21:44:21 +00001; RUN: llvm-as < %s | llc -march=x86 | grep {orl \$1}
2
3define i32 @test(i32 %A) nounwind {
4 %B = or i32 %A, 1
5 %C = or i32 %B, 1
6 %D = and i32 %C, 7057
7 ret i32 %D
8}