Move a DenseMap's declaration outside of a loop, and just call
[oota-llvm.git] / test / Transforms / InstCombine / 2006-11-27-XorBug.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and.*32
2 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
3 ; RUN:    not grep or.*153
4 ; PR1014
5
6 define i32 @test(i32 %tmp1) {
7         %ovm = and i32 %tmp1, 32                ; <i32> [#uses=1]
8         %ov3 = add i32 %ovm, 145                ; <i32> [#uses=1]
9         %ov110 = xor i32 %ov3, 153              ; <i32> [#uses=1]
10         ret i32 %ov110
11 }
12