Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious
[oota-llvm.git] / test / Transforms / InstCombine / 2006-11-10-ashr-miscompile.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep lshr
2 ; Verify this is not turned into -1.
3
4 int %test(ubyte %amt) {
5   %B = lshr int -1, ubyte %amt
6   ret int %B
7 }