blob: cdf520256837dd71678c6a8d4c4e126662e70b0b [file] [log] [blame]
Dan Gohmancf0e3ac2008-05-06 00:51:48 +00001; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 false}
2; PR2276
3
4define i1 @f(i32 %x) {
5 %A = or i32 %x, 1
6 %B = srem i32 %A, 1
7 %C = icmp ne i32 %B, 0
8 ret i1 %C
9}