Change these tests to feed the assembly files to opt directly, instead
[oota-llvm.git] / test / Transforms / InstCombine / zeroext-and-reduce.ll
1 ; RUN: opt %s -instcombine | llvm-dis | \
2 ; RUN:   grep {and i32 %Y, 8}
3
4 define i32 @test1(i8 %X) {
5         %Y = zext i8 %X to i32          ; <i32> [#uses=1]
6         %Z = and i32 %Y, 65544          ; <i32> [#uses=1]
7         ret i32 %Z
8 }
9
10