Change these tests to feed the assembly files to opt directly, instead
[oota-llvm.git] / test / Transforms / InstCombine / 2008-11-01-SRemDemandedBits.ll
1 ; RUN: opt %s -instcombine | llvm-dis | grep {ret i1 true}
2 ; PR2993
3
4 define i1 @foo(i32 %x) {
5   %1 = srem i32 %x, -1
6   %2 = icmp eq i32 %1, 0
7   ret i1 %2
8 }