Use opt -S instead of piping bitcode output through llvm-dis.
[oota-llvm.git] / test / Transforms / InstCombine / fold-bin-operand.ll
1 ; RUN: opt %s -instcombine -S | not grep icmp
2
3 define i1 @f(i1 %x) {
4         %b = and i1 %x, icmp eq (i8* inttoptr (i32 1 to i8*), i8* inttoptr (i32 2 to i8*))
5         ret i1 %b
6 }
7
8 ; FIXME: This doesn't fold at the moment!
9 ; define i32 @f(i32 %x) {
10 ;       %b = add i32 %x, zext (i1 icmp eq (i8* inttoptr (i32 1000000 to i8*), i8* inttoptr (i32 2000000 to i8*)) to i32)
11 ;       ret i32 %b
12 ;}
13