Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious
[oota-llvm.git] / test / Transforms / InstCombine / 2005-06-16-SetCCOrSetCCMiscompile.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
2 ; RUN:   grep {ret i1 true}
3 ; PR586
4
5 %g_07918478 = external global uint              ; <uint*> [#uses=1]
6
7 implementation   ; Functions:
8
9 bool %test() {
10         %tmp.0 = load uint* %g_07918478         ; <uint> [#uses=2]
11         %tmp.1 = setne uint %tmp.0, 0           ; <bool> [#uses=1]
12         %tmp.4 = setlt uint %tmp.0, 4111                ; <bool> [#uses=1]
13         %bothcond = or bool %tmp.1, %tmp.4              ; <bool> [#uses=1]
14         ret bool %bothcond
15 }
16