When turning a call to a bitcast function into a direct call,
[oota-llvm.git] / test / Transforms / InstCombine / 2004-09-28-BadShiftAndSetCC.llx
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not grep -- -65536
2
3 bool %test(int %tmp.124) {
4         %tmp.125 = shl int %tmp.124, ubyte 8
5         %tmp.126.mask = and int %tmp.125, -16777216             ; <int> [#uses=1]
6         %tmp.128 = seteq int %tmp.126.mask, 167772160           ; <bool> [#uses=1]
7         ret bool %tmp.128
8 }
9