llvm-6502/test/CodeGen/X86/test-not-cmp.ll
Evan Cheng fa12482d0c New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30179 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 07:24:20 +00:00

15 lines
265 B
LLVM

; RUN: llvm-as < %s | llc -march=x86
; RUN: llvm-as < %s | llc -march=x86 | grep test
int %test(int %X, int* %y) {
%tmp = load int* %y
%tmp = seteq int %tmp, 0
br bool %tmp, label %ReturnBlock, label %cond_true
cond_true:
ret int 1
ReturnBlock:
ret int 0
}