Don't do: "(X & 4) >> 1 == 2 --> (X & 4) == 4" if there are more than one uses of...
[oota-llvm.git] / test / Transforms / InstCombine / 2004-12-08-RemInfiniteLoop.ll
1 ; RUN: llvm-as < %s | opt -instcombine
2
3 define i32 @test(i32 %X) {
4         %Y = srem i32 %X, undef         ; <i32> [#uses=1]
5         ret i32 %Y
6 }
7