Move & restructure test per review.
[oota-llvm.git] / test / CodeGen / X86 / pr3018.ll
1 ; RUN: llvm-as < %s | llc -march=x86 | grep {orl        \$1}
2
3 define 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 }