Implement PR3495: local spiller optimization. The local spiller can now keep availabi...
[oota-llvm.git] / test / CodeGen / X86 / dag-rauw-cse.ll
1 ; RUN: llvm-as < %s | llc -march=x86 | grep {orl        \$1}
2 ; PR3018
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 }