New test case.
[oota-llvm.git] / test / CodeGen / X86 / test-not-cmp.ll
1 ; RUN: llvm-as < %s | llc -march=x86
2 ; RUN: llvm-as < %s | llc -march=x86 | grep test
3
4 int %test(int %X, int* %y) {
5         %tmp = load int* %y
6         %tmp = seteq int %tmp, 0
7         br bool %tmp, label %ReturnBlock, label %cond_true
8
9 cond_true:
10         ret int 1
11
12 ReturnBlock:
13         ret int 0
14 }