Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious
[oota-llvm.git] / test / Transforms / InstCombine / and-compare.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
2 ; RUN:    grep and | count 1
3
4 ; Should be optimized to one and.
5 bool %test1(uint %a, uint %b) {
6         %tmp1 = and uint %a, 65280
7         %tmp3 = and uint %b, 65280
8         %tmp = setne uint %tmp1, %tmp3
9         ret bool %tmp
10 }
11