llvm-6502/test/CodeGen/X86/compare-add.ll

9 lines
194 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=x86 &&
; RUN: llvm-as < %s | llc -march=x86 | not grep add
bool %X(int %X) {
%Y = add int %X, 14
%Z = setne int %Y, 12345
ret bool %Z
}