Use opt -S instead of piping bitcode output through llvm-dis.
[oota-llvm.git] / test / Transforms / InstCombine / 2006-11-27-XorBug.ll
1 ; RUN: opt %s -instcombine -S | grep and.*32
2 ; RUN: opt %s -instcombine -S | \
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